Fix build!=host fixinc WARN_CFLAGS problem from DJ Delorie.

* Makefile.in (fixinc.sh): Set WARN_CFLAGS to empty string.

From-SVN: r80713
This commit is contained in:
James E Wilson 2004-04-15 06:27:26 +00:00 committed by Jim Wilson
parent cce0244b1c
commit ea7b98d0c3
2 changed files with 5 additions and 1 deletions

View 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.

View 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))