From 19d4daf056609ad8138226403dfd520d343d8b04 Mon Sep 17 00:00:00 2001 From: David McCullough Date: Mon, 29 Jan 2001 15:51:44 +0000 Subject: The rules to build sysconf_$(TARGET_ARCH).c were broken when cross compiling. --- libc/unistd/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libc/unistd/Makefile b/libc/unistd/Makefile index f69d9a453..0299a0a24 100644 --- a/libc/unistd/Makefile +++ b/libc/unistd/Makefile @@ -56,7 +56,7 @@ sysconf_$(TARGET_ARCH).c: sysconf.c @echo warning: sysconf_$(NATIVE_ARCH).c is older then sysconf.c so using generic sysconf.c @echo To build sysconf_$(NATIVE_ARCH).c run gen_sysconf \> sysconf_$(NATIVE_ARCH).c on @echo your target platform, place in the unistd directory, and rebuild - cp -f sysconf.c sysconf_src.c + cp -f sysconf.c sysconf_$(TARGET_ARCH).c # We are compiling for the native platform, so build an optimized sysconf.c. sysconf_native: sysconf.c -- cgit v1.2.3