(STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR).
(STAGE2_FLAGS_TO_PASS): Likewise.
* config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91634
138bc75d-0d04-0410-961f-
82ee72b054a4
+2004-12-02 Andreas Schwab <schwab@suse.de>
+
+ * Makefile.in (WERROR_FLAGS): Renamed from WERROR.
+ (STRICT2_WARN): Use $(WERROR_FLAGS) instead of $(WERROR).
+ (STAGE2_FLAGS_TO_PASS): Likewise.
+
+ * config/i386/x-mingw32: Set WERROR_FLAGS instead of WERROR.
+
2004-12-02 Richard Sandiford <rsandifo@redhat.com>
* configure.ac: Use TL_AC_GCC_VERSION to set gcc_version. Remove
# -Wno-variadic-macros.
LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
STRICT_WARN = @strict1_warn@
-WERROR = @WERROR@
+WERROR_FLAGS = @WERROR@
STRICT2_WARN = -pedantic -Wno-long-long -Wno-variadic-macros \
- -Wold-style-definition $(WERROR)
+ -Wold-style-definition $(WERROR_FLAGS)
# This is set by --enable-checking. The idea is to catch forgotten
# "extern" tags in header files.
STAGE2_FLAGS_TO_PASS = \
CFLAGS="$(BOOT_CFLAGS)" \
- WERROR="$(WERROR)" \
+ WERROR="$(WERROR_FLAGS)" \
STAGEPROFILE_FLAGS_TO_PASS = \
CFLAGS="$(BOOT_CFLAGS) -fprofile-generate"
# On MinGW, we use "%IA64d" to print 64-bit integers, and the format-checking
# code does not handle that, so we have to disable checking here.
-WERROR += -Wno-format
+WERROR_FLAGS += -Wno-format
host-mingw32.o : $(srcdir)/config/i386/host-mingw32.c $(CONFIG_H) $(SYSTEM_H) \
coretypes.h hosthooks.h hosthooks-def.h toplev.h diagnostic.h $(HOOKS_H)