* Makefile.in (STRICT2_WARN): Add -Wold-style-definition
[gcc.git] / gcc / Makefile.in
index 492f88b78d60be1e5272449a711aec702b3ba5e6..0ecca9c03245598c2056258182d94b89c9d53388 100644 (file)
@@ -164,7 +164,7 @@ coverageexts = .{gcda,gcno}
 # stage1, as not all versions of gcc understand -Wno-long-long.
 LOOSE_WARN = -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes
 STRICT_WARN = @strict1_warn@
-STRICT2_WARN = -pedantic -Wno-long-long @WERROR@
+STRICT2_WARN = -pedantic -Wno-long-long -Wold-style-definition @WERROR@
 
 # This is set by --enable-checking.  The idea is to catch forgotten
 # "extern" tags in header files.