mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-01-11 03:14:29 +08:00
Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir. * fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS). From-SVN: r38045
This commit is contained in:
parent
1435059ed6
commit
9c101f4a0f
@ -1,3 +1,9 @@
|
||||
2000-12-05 Kaveh R. Ghazi <ghazi@teal.rutgers.edu>
|
||||
|
||||
* Makefile.in (fixinc.sh): Pass $WARN_CFLAGS into fixinc dir.
|
||||
|
||||
* fixinc/Makefile.in (FIXINC_DEFS): Add $(WARN_CFLAGS).
|
||||
|
||||
2000-12-05 Bruce Korb <bkorb@gnu.org>
|
||||
|
||||
* fixinc/mkfixinc.sh(*-gnu*): activate fixinc for GNU/Hurd and
|
||||
|
@ -2038,7 +2038,8 @@ fixinc.sh: $(FIXINCSRCDIR)/mkfixinc.sh $(FIXINCSRCDIR)/fixincl.c \
|
||||
$(FIXINCSRCDIR)/server.h $(FIXINCSRCDIR)/inclhack.def specs.ready
|
||||
(MAKE="$(MAKE)"; srcdir=`cd $(srcdir)/fixinc && pwd` ; \
|
||||
CC="$(CC)"; CFLAGS="$(CFLAGS)"; LDFLAGS="$(LDFLAGS)"; \
|
||||
export MAKE srcdir CC CFLAGS LDFLAGS; cd ./fixinc && \
|
||||
WARN_CFLAGS="$(WARN_CFLAGS)"; \
|
||||
export MAKE srcdir CC CFLAGS LDFLAGS WARN_CFLAGS; cd ./fixinc && \
|
||||
$(SHELL) $${srcdir}/mkfixinc.sh $(build_canonical) $(target))
|
||||
|
||||
# Build fixed copies of system files.
|
||||
|
@ -22,7 +22,7 @@
|
||||
# The makefile built from this file lives in the fixinc subdirectory.
|
||||
# Its purpose is to build the any-platforms fixinc.sh script.
|
||||
|
||||
FIXINC_DEFS = -DIN_GCC $(CFLAGS) $(CPPFLAGS) $(INCLUDES)
|
||||
FIXINC_DEFS = -DIN_GCC $(WARN_CFLAGS) $(CFLAGS) $(CPPFLAGS) $(INCLUDES)
|
||||
|
||||
target=@target@
|
||||
# Directory where sources are, from where we are.
|
||||
|
Loading…
Reference in New Issue
Block a user