This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
PATCH: Fix bfd/doc for canadian cross compile.
- From: "H. J. Lu" <hjl at lucon dot org>
- To: binutils at sources dot redhat dot com
- Date: Mon, 16 Dec 2002 12:51:49 -0800
- Subject: PATCH: Fix bfd/doc for canadian cross compile.
We shouldn't use $(CFLAGS) with $(CC_FOR_BUILD). It doesn't work when
$(CC) != $(CC_FOR_BUILD).
H.J.
----
2002-12-15 H.J. Lu <hjl@gnu.org>
* Makefile.am (chew.o): Use $(CFLAGS_FOR_BUILD) instead of
$(CFLAGS).
* Makefile.in: Regenerated.
--- bfd/doc/Makefile.am.build Wed Nov 20 09:35:41 2002
+++ bfd/doc/Makefile.am Mon Dec 16 12:35:11 2002
@@ -58,7 +58,7 @@ $(MKDOC): chew.o
$(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
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
--- bfd/doc/Makefile.in.build Wed Nov 20 09:35:42 2002
+++ bfd/doc/Makefile.in Mon Dec 16 12:36:14 2002
@@ -472,7 +472,7 @@ $(MKDOC): chew.o
$(CC_FOR_BUILD) -o $(MKDOC) chew.o $(LOADLIBES) $(LDFLAGS)
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