diff --git a/bfd/doc/ChangeLog b/bfd/doc/ChangeLog index 12f5fb4e68..62ac7f67a5 100644 --- a/bfd/doc/ChangeLog +++ b/bfd/doc/ChangeLog @@ -1,3 +1,9 @@ +2005-02-13 Maciej W. Rozycki + + * Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for + building chew. + * Makefile.in: Regenerate. + 2004-12-20 Ian Lance Taylor * Makefile.am: Use $(SHELL) whenever we run move-if-change. diff --git a/bfd/doc/Makefile.am b/bfd/doc/Makefile.am index 88ceb752f1..efa40827e7 100644 --- a/bfd/doc/Makefile.am +++ b/bfd/doc/Makefile.am @@ -55,10 +55,10 @@ info_TEXINFOS = bfd.texinfo MKDOC = chew$(EXEEXT_FOR_BUILD) $(MKDOC): chew.o - $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS) $(LOADLIBES) $(LDFLAGS) + $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) chew.o: chew.c - $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c + $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c protos: libbfd.h libcoff.h bfd.h diff --git a/bfd/doc/Makefile.in b/bfd/doc/Makefile.in index 23318fbeed..bed9c6a183 100644 --- a/bfd/doc/Makefile.in +++ b/bfd/doc/Makefile.in @@ -582,10 +582,10 @@ uninstall-am: $(MKDOC): chew.o - $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS) $(LOADLIBES) $(LDFLAGS) + $(CC_FOR_BUILD) -o $(MKDOC) chew.o $(CFLAGS_FOR_BUILD) $(LDFLAGS_FOR_BUILD) chew.o: chew.c - $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS) $(srcdir)/chew.c + $(CC_FOR_BUILD) -c -I.. -I$(srcdir)/.. -I$(srcdir)/../../include -I$(srcdir)/../../intl -I../../intl $(H_CFLAGS) $(CFLAGS_FOR_BUILD) $(srcdir)/chew.c protos: libbfd.h libcoff.h bfd.h