فهرست منبع

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

Mike Frysinger 20 سال پیش
والد
کامیت
9d556a823d
1فایلهای تغییر یافته به همراه2 افزوده شده و 3 حذف شده
  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
 $(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)