summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorimp <imp@FreeBSD.org>2015-01-03 16:48:08 +0000
committerimp <imp@FreeBSD.org>2015-01-03 16:48:08 +0000
commit29508a1cc298611bb1c43f5cfe52f2c6514ab517 (patch)
tree1e2cdfdfff45bbd7c8ded85870d5357472574445
parentdb2be144cc2a6afaee2e2c9ba94677dc0fa22f63 (diff)
downloadFreeBSD-src-29508a1cc298611bb1c43f5cfe52f2c6514ab517.zip
FreeBSD-src-29508a1cc298611bb1c43f5cfe52f2c6514ab517.tar.gz
Always use -Wno-unknown-pragmas, not just for clang.
-rw-r--r--sys/conf/kern.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 8923687..c56f796 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -7,6 +7,7 @@ CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
-Wundef -Wno-pointer-sign ${FORMAT_EXTENSIONS} \
-Wmissing-include-dirs -fdiagnostics-show-option \
+ -Wno-unknown-pragmas \
${CWARNEXTRA}
#
# The following flags are next up for working on:
@@ -27,8 +28,7 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized
# some incentive to fix them eventually.
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
-Wno-error-parentheses-equality -Wno-error-unused-function \
- -Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses \
- -Wno-unknown-pragmas
+ -Wno-error-pointer-sign -Wno-error-format -Wno-error-parentheses
.endif
.if ${COMPILER_TYPE} == "gcc" && ${COMPILER_VERSION} >= 40300
OpenPOWER on IntegriCloud