summaryrefslogtreecommitdiffstats
path: root/sys/conf/kern.mk
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf/kern.mk')
-rw-r--r--sys/conf/kern.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 8e76268..7f1c026 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -30,6 +30,9 @@ NO_WCAST_QUAL= -Wno-cast-qual
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
-Wno-error-parentheses-equality -Wno-error-unused-function \
-Wno-error-pointer-sign
+.if ${COMPILER_VERSION} >= 30700
+CWARNEXTRA+= -Wno-error-shift-negative-value
+.endif
CLANG_NO_IAS= -no-integrated-as
.if ${COMPILER_VERSION} < 30500
OpenPOWER on IntegriCloud