From 6650a443a830b419596bbcb858684cc57f26dd8f Mon Sep 17 00:00:00 2001 From: Zack Weinberg Date: Tue, 20 Jun 2000 23:36:33 +0000 Subject: [PATCH] * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS). From-SVN: r34623 --- gcc/ChangeLog | 2 ++ gcc/Makefile.in | 6 ++++-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2ae556a313be..8e3bc38572d6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,7 @@ 2000-06-20 Zack Weinberg + * Makefile.in (fix-header): Link with $(LIBS) not $(HOST_LIBS). + * Makefile.in: Remove all references to HOST_INTLLIBS. * cpplex.c (parse_name): Don't warn about $ in identifiers if diff --git a/gcc/Makefile.in b/gcc/Makefile.in index ae9c6fb8dc8e..3af0adee0ff0 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2002,10 +2002,12 @@ xsys-protos.h: $(GCC_PASSES) $(srcdir)/sys-protos.h deduced.h gen-protos Makefil mv xsys-protos.hT xsys-protos.h rm -rf fixtmp.c -fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(HOST_LIBDEPS) \ +# This is nominally a 'build' program, but it's run only when host==build, +# so we can (indeed, must) use $(LIBDEPS) and $(LIBS). +fix-header: fix-header.o scan-decls.o scan.o xsys-protos.h $(LIBDEPS) \ libcpp.a $(HOST_CC) $(HOST_CFLAGS) $(HOST_LDFLAGS) -o $@ fix-header.o \ - scan-decls.o scan.o libcpp.a $(HOST_LIBS) ../libiberty/libiberty.a + scan-decls.o scan.o libcpp.a $(LIBS) fix-header.o: fix-header.c $(OBSTACK_H) scan.h \ xsys-protos.h $(build_xm_file) system.h cpplib.h