Fix build!=host fixinc WARN_CFLAGS problem from DJ Delorie.
authorwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Apr 2004 06:27:26 +0000 (06:27 +0000)
committerwilson <wilson@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 15 Apr 2004 06:27:26 +0000 (06:27 +0000)
* Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80713 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/Makefile.in

index 42794c8..a26dba3 100644 (file)
@@ -1,3 +1,7 @@
+2004-04-14  James E Wilson  <wilson@specifixinc.com>
+
+       * Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string.
+
 2004-04-14  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * libada-mk.in: New file.
index f75afff..cf9b415 100644 (file)
@@ -2535,7 +2535,7 @@ fixinc.sh: $(FIXINCSRCDIR)/mkfixinc.sh $(FIXINCSRCDIR)/fixincl.c \
        $(FIXINCSRCDIR)/server.h $(FIXINCSRCDIR)/inclhack.def specs.ready
        (MAKE="$(MAKE)"; srcdir=`cd $(srcdir)/fixinc && ${PWD_COMMAND}` ; \
        CC="$(CC_FOR_BUILD)"; CFLAGS="$(BUILD_CFLAGS)"; LDFLAGS="$(BUILD_LDFLAGS)"; \
-       WARN_CFLAGS="$(WARN_CFLAGS)"; LIBERTY=`${PWD_COMMAND}`/"$(BUILD_LIBIBERTY)"; \
+       WARN_CFLAGS=""; LIBERTY=`${PWD_COMMAND}`/"$(BUILD_LIBIBERTY)"; \
        export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS LIBERTY; \
        cd ./fixinc && \
        $(SHELL) $${srcdir}/mkfixinc.sh $(build) $(target))