Răsfoiți Sursa

tweak rules so we dont have to copy the .c files to get 64bit versions

Mike Frysinger 19 ani în urmă
părinte
comite
9d556a823d
1 a modificat fișierele cu 2 adăugiri și 3 ștergeri
  1. 2 3
      libc/stdio/Makefile.in

+ 2 - 3
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
 # need this, else the other %64 files will get false rules
 $(STDIO_CLSRC): $(STDIO_OUT)/%64.c : $(STDIO_DIR)/%.c
 $(STDIO_CLSRC): $(STDIO_OUT)/%64.c : $(STDIO_DIR)/%.c
-	cp $< $@
 
 
 $(STDIO_CLOBJ): %.o : %.c
 $(STDIO_CLOBJ): %.o : %.c
-	$(compile.c) -D__DO_LARGEFILE
+	$(compile.c:64.c=.c) -D__DO_LARGEFILE
 
 
 $(STDIO_CLOBJ:.o=.os): %.os : %.c
 $(STDIO_CLOBJ:.o=.os): %.os : %.c
-	$(compile.c) -D__DO_LARGEFILE
+	$(compile.c:64.c=.c) -D__DO_LARGEFILE
 
 
 $(STDIO_MOBJ1): $(STDIO_MSRC1)
 $(STDIO_MOBJ1): $(STDIO_MSRC1)
 	$(compile.m)
 	$(compile.m)