* Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.

From-SVN: r74153
This commit is contained in:
Kaveh R. Ghazi 2003-12-02 03:55:20 +00:00 committed by Kaveh Ghazi
parent c353d6a488
commit 3c987b8ed7
2 changed files with 5 additions and 1 deletions

View file

@ -1,3 +1,7 @@
2003-12-01 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.
2003-12-01 James Lemke <jim@wasabisystems.com>
* config/arm/arm.c (arm_rtx_costs): Improve for xscale multiply.

View file

@ -288,7 +288,7 @@ GCC_FOR_TARGET = $(STAGE_CC_WRAPPER) ./xgcc -B./ -B$(build_tooldir)/bin/ -isyste
# This is used instead of ALL_CFLAGS when compiling with GCC_FOR_TARGET.
# It omits XCFLAGS, and specifies -B./.
# It also specifies -isystem ./include to find, e.g., stddef.h.
GCC_CFLAGS=$(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) $($@-warn) -isystem ./include $(TCFLAGS)
GCC_CFLAGS=$(INTERNAL_CFLAGS) $(X_CFLAGS) $(T_CFLAGS) $(LOOSE_WARN) -Wold-style-definition $($@-warn) -isystem ./include $(TCFLAGS)
# ---------------------------------------------------
# Programs which produce files for the target machine