* Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
authorMaciej W. Rozycki <macro@linux-mips.org>
Sun, 13 Feb 2005 21:39:47 +0000 (21:39 +0000)
committerMaciej W. Rozycki <macro@linux-mips.org>
Sun, 13 Feb 2005 21:39:47 +0000 (21:39 +0000)
building chew.
* Makefile.in: Regenerate.

bfd/doc/ChangeLog
bfd/doc/Makefile.am
bfd/doc/Makefile.in

index 12f5fb4e68daa1108e79a3eac43f978beced5ec0..62ac7f67a57be19af3596f6842e8a759ecdc596c 100644 (file)
@@ -1,3 +1,9 @@
+2005-02-13  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * Makefile.am: Use CFLAGS_FOR_BUILD and LDFLAGS_FOR_BUILD for
+       building chew.
+       * Makefile.in: Regenerate.
+
 2004-12-20  Ian Lance Taylor  <ian@c2microsystems.com>
 
        * Makefile.am: Use $(SHELL) whenever we run move-if-change.
index 88ceb752f1aa0d9e6b59d1136a2b422bf1d64c9e..efa40827e7ecf3d12ef2649bfea82071e8b11285 100644 (file)
@@ -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
 
index 23318fbeed06c5cab9303f9a67f908e9bdeb1673..bed9c6a1837d0333ece81b7ea10b3f42d5016dbf 100644 (file)
@@ -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