summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McCullough <davidm@snapgear.com>2001-01-29 15:51:44 +0000
committerDavid McCullough <davidm@snapgear.com>2001-01-29 15:51:44 +0000
commit19d4daf056609ad8138226403dfd520d343d8b04 (patch)
tree2b3aa2f5d88446032dbea72632752c80519b2b86
parentb83c05cb3ea2c2421cbd921b3ff78e74071a5424 (diff)
The rules to build sysconf_$(TARGET_ARCH).c were broken when cross
compiling.
-rw-r--r--libc/unistd/Makefile2
1 files changed, 1 insertions, 1 deletions
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