[PATCH] Fix bootstrap after changes to libcpp

Andrew Pinski pinskia@physics.uc.edu
Sun Jun 6 09:51:00 GMT 2004


After Zack's recent changes to libcpp, bootstrap broke because
makedepend was not linking with libintl at all, this patch fixes
this problem.


I committed this as obvious as I can now get passed the build
of libcpp on powerpc-apple-darwin.

Thanks,
Andrew Pinski


ChangeLog:
	* Makefile.am (LIBINTL): Declare
	(makedepend_LDADD): Use LIBINTL.
	* Makefile.in: Regenerate.

Patch:
Index: Makefile.am
===================================================================
RCS file: /cvs/gcc/gcc/libcpp/Makefile.am,v
retrieving revision 1.3
diff -u -p -r1.3 Makefile.am
--- Makefile.am	5 Jun 2004 20:57:58 -0000	1.3
+++ Makefile.am	6 Jun 2004 04:20:18 -0000
@@ -13,8 +13,9 @@ noinst_HEADERS = \
  	include/cpplib.h include/line-map.h include/mkdeps.h \
  	include/symtab.h internal.h system.h ucnid.h

+LIBINTL = @LIBINTL@
  noinst_PROGRAMS = makedepend
-makedepend_LDADD = libcpp.a ../libiberty/libiberty.a
+makedepend_LDADD = libcpp.a ../libiberty/libiberty.a $(LIBINTL)

  XGETTEXT = @XGETTEXT@
  GMSGFMT = @GMSGFMT@



More information about the Gcc-patches mailing list