diff options
Diffstat (limited to 'libc/stdio/Makefile')
-rw-r--r-- | libc/stdio/Makefile | 17 |
1 files changed, 2 insertions, 15 deletions
diff --git a/libc/stdio/Makefile b/libc/stdio/Makefile index 67ef71ff8..26ab9cfcc 100644 --- a/libc/stdio/Makefile +++ b/libc/stdio/Makefile @@ -24,19 +24,6 @@ TOPDIR=../ include $(TOPDIR)Rules.mak LIBC=$(TOPDIR)libc.a -PRINTF_FLAGS = -SCANF_FLAGS = - -ifeq ($(HAS_FLOATS),true) - PRINTF_FLAGS += -DWANT_DOUBLE - SCANF_FLAGS += -DWANT_DOUBLE -endif - -ifeq ($(HAS_LONG_LONG),true) - PRINTF_FLAGS += -DWANT_LONG_LONG - SCANF_FLAGS += -DWANT_LONG_LONG -endif - MSRC=stdio.c MOBJ=_stdio_init.o \ _alloc_stdio_buffer.o _free_stdio_buffer_of_file.o _free_stdio_stream.o \ @@ -71,11 +58,11 @@ $(MOBJ): $(MSRC) $(STRIPTOOL) -x -R .note -R .comment $*.o $(MOBJ2): $(MSRC2) - $(CC) $(CFLAGS) $(PRINTF_FLAGS) -DL_$* $< -c -o $*.o + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o $(MOBJ3): $(MSRC3) - $(CC) $(CFLAGS) $(SCANF_FLAGS) -DL_$* $< -c -o $*.o + $(CC) $(CFLAGS) -DL_$* $< -c -o $*.o $(STRIPTOOL) -x -R .note -R .comment $*.o $(COBJS): %.o : %.c |