From 05e24d226c178bfb29bc99aacfea25dc97dc323b Mon Sep 17 00:00:00 2001 From: "Maciej W. Rozycki" Date: Sun, 13 Feb 2005 21:39:47 +0000 Subject: [PATCH] * Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for building chew. * Makefile.in: Regenerate. --- bfd/doc/ChangeLog | 6 ++++++ bfd/doc/Makefile.am | 4 ++-- bfd/doc/Makefile.in | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) 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