summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--share/mk/bsd.kern.mk8
-rw-r--r--sys/conf/kern.mk8
2 files changed, 2 insertions, 14 deletions
diff --git a/share/mk/bsd.kern.mk b/share/mk/bsd.kern.mk
index 35a091a..a1de155 100644
--- a/share/mk/bsd.kern.mk
+++ b/share/mk/bsd.kern.mk
@@ -7,16 +7,10 @@
# most of the remaining warnings. Warnings introduced with -Wall will
# also pop up, but are easier to fix.
#
-# XXX FIXME - revert when there is a gcc3 with -fformat-extensions
-.ifndef GCC3
-CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
- -fformat-extensions -ansi
-.else
+# XXX FIXME - revert to -fformat-extensions when we've re-added it
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-Wno-format -ansi
-.endif
#
# The following flags are next up for working on:
# -W
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 35a091a..a1de155 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -7,16 +7,10 @@
# most of the remaining warnings. Warnings introduced with -Wall will
# also pop up, but are easier to fix.
#
-# XXX FIXME - revert when there is a gcc3 with -fformat-extensions
-.ifndef GCC3
-CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
- -Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
- -fformat-extensions -ansi
-.else
+# XXX FIXME - revert to -fformat-extensions when we've re-added it
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-Wno-format -ansi
-.endif
#
# The following flags are next up for working on:
# -W
OpenPOWER on IntegriCloud