From fc50413595f313cd07b10510973c81f48125ea8e Mon Sep 17 00:00:00 2001 From: Thomas Fitzsimmons Date: Tue, 18 Dec 2001 02:22:55 +0000 Subject: * libc/stdlib/Makefile.am (LIB_COMPILE): Change to equal $(COMPILE) rather than $(CC). * libc/stdio/Makefile.am (LIB_COMPILE): Likewise. (vfprintf.$(oext)): Remove $(INCLUDES), made redundant by $(LIB_COMPILE) change. (vfiprintf.$(oext)): Likewise. --- newlib/libc/stdio/Makefile.am | 6 +++--- newlib/libc/stdio/Makefile.in | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) (limited to 'newlib/libc/stdio') diff --git a/newlib/libc/stdio/Makefile.am b/newlib/libc/stdio/Makefile.am index 3f64aa5fa..8010c7203 100644 --- a/newlib/libc/stdio/Makefile.am +++ b/newlib/libc/stdio/Makefile.am @@ -83,7 +83,7 @@ else noinst_LIBRARIES = lib.a lib_a_SOURCES = $(LIB_SOURCES) lib_a_LIBADD = $(LIBADD_OBJS) -LIB_COMPILE = $(CC) +LIB_COMPILE = $(COMPILE) noinst_DATA = endif # USE_LIBTOOL @@ -93,10 +93,10 @@ include $(srcdir)/../../Makefile.shared # libtool moves vfprintf.o and subsequently can't find it. vfprintf.$(oext): vfprintf.c - $(LIB_COMPILE) $(INCLUDES) -c $(srcdir)/vfprintf.c + $(LIB_COMPILE) -c $(srcdir)/vfprintf.c vfiprintf.$(oext): vfprintf.c - $(LIB_COMPILE) $(INCLUDES) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ + $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ CHEWOUT_FILES = \ clearerr.def \ diff --git a/newlib/libc/stdio/Makefile.in b/newlib/libc/stdio/Makefile.in index d069110e5..b8feba470 100644 --- a/newlib/libc/stdio/Makefile.in +++ b/newlib/libc/stdio/Makefile.in @@ -169,7 +169,7 @@ libstdio_la_LDFLAGS = -Xcompiler -nostdlib @USE_LIBTOOL_TRUE@libstdio_la_SOURCES = @USE_LIBTOOL_TRUE@$(LIB_SOURCES) @USE_LIBTOOL_TRUE@libstdio_la_LIBADD = @USE_LIBTOOL_TRUE@$(LIBADD_OBJS) @USE_LIBTOOL_TRUE@LIB_COMPILE = @USE_LIBTOOL_TRUE@$(LTCOMPILE) -@USE_LIBTOOL_FALSE@LIB_COMPILE = @USE_LIBTOOL_FALSE@$(CC) +@USE_LIBTOOL_FALSE@LIB_COMPILE = @USE_LIBTOOL_FALSE@$(COMPILE) @USE_LIBTOOL_TRUE@noinst_DATA = @USE_LIBTOOL_TRUE@objectlist.awk.in @USE_LIBTOOL_FALSE@noinst_DATA = @USE_LIBTOOL_FALSE@noinst_LIBRARIES = @USE_LIBTOOL_FALSE@lib.a @@ -497,10 +497,10 @@ objectlist.awk.in: $(noinst_LTLIBRARIES) # libtool moves vfprintf.o and subsequently can't find it. vfprintf.$(oext): vfprintf.c - $(LIB_COMPILE) $(INCLUDES) -c $(srcdir)/vfprintf.c + $(LIB_COMPILE) -c $(srcdir)/vfprintf.c vfiprintf.$(oext): vfprintf.c - $(LIB_COMPILE) $(INCLUDES) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ + $(LIB_COMPILE) -DINTEGER_ONLY -c $(srcdir)/vfprintf.c -o $@ .c.def: $(CHEW) < $< > $*.def 2> $*.ref -- cgit v1.2.3