* 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.
This commit is contained in:
Thomas Fitzsimmons 2001-12-18 02:22:55 +00:00
parent 50708144f7
commit fc50413595
5 changed files with 17 additions and 8 deletions

View File

@ -1,3 +1,12 @@
2001-12-17 Thomas Fitzsimmons <fitzsim@redhat.com>
* 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.
2001-12-17 Corinna Vinschen <vinschen@redhat.de>
* libc/sys/cygwin/include/unistd.h: Add __UNISTD_GETOPT_ to allow

View File

@ -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 \

View File

@ -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

View File

@ -96,7 +96,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

View File

@ -183,7 +183,7 @@ libstdlib_la_LDFLAGS = -Xcompiler -nostdlib
@USE_LIBTOOL_TRUE@libstdlib_la_SOURCES = @USE_LIBTOOL_TRUE@$(LIB_SOURCES)
@USE_LIBTOOL_TRUE@libstdlib_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