summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-11-02 00:34:27 +0000
committerMike Frysinger <vapier@gentoo.org>2005-11-02 00:34:27 +0000
commit9d556a823d4f836170c24d39bf0993d2fca17f73 (patch)
treee98fe051cd6a7ab29f6693ec40351e5d01024e26 /libc/stdio
parent26cb4c6fe25af10b410310aa8e4d70a0028cf704 (diff)
tweak rules so we dont have to copy the .c files to get 64bit versions
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/Makefile.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/libc/stdio/Makefile.in b/libc/stdio/Makefile.in
index ec4e7c1b2..e6a8f6673 100644
--- a/libc/stdio/Makefile.in
+++ b/libc/stdio/Makefile.in
@@ -117,13 +117,12 @@ STDIO_OBJS:=$(STDIO_OBJ) $(STDIO_MOBJ) $(STDIO_CUOBJ) $(STDIO_CLOBJ)
# need this, else the other %64 files will get false rules
$(STDIO_CLSRC): $(STDIO_OUT)/%64.c : $(STDIO_DIR)/%.c
- cp $< $@
$(STDIO_CLOBJ): %.o : %.c
- $(compile.c) -D__DO_LARGEFILE
+ $(compile.c:64.c=.c) -D__DO_LARGEFILE
$(STDIO_CLOBJ:.o=.os): %.os : %.c
- $(compile.c) -D__DO_LARGEFILE
+ $(compile.c:64.c=.c) -D__DO_LARGEFILE
$(STDIO_MOBJ1): $(STDIO_MSRC1)
$(compile.m)