* Makefile.in (GCC_CFLAGS): Add -Wold-style-definition.
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>
Tue, 2 Dec 2003 03:55:20 +0000 (03:55 +0000)
committerKaveh Ghazi <ghazi@gcc.gnu.org>
Tue, 2 Dec 2003 03:55:20 +0000 (03:55 +0000)
From-SVN: r74153

gcc/ChangeLog
gcc/Makefile.in

index e423402..70de499 100644 (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.
index a2f8783..e35a16d 100644 (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