summaryrefslogtreecommitdiffstats
path: root/sys/conf
diff options
context:
space:
mode:
Diffstat (limited to 'sys/conf')
-rw-r--r--sys/conf/kern.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 2939a59..e4a0b48 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -29,7 +29,8 @@ NO_WSOMETIMES_UNINITIALIZED= -Wno-error-sometimes-uninitialized
# enough to error out the whole kernel build. Display them anyway, so there is
# some incentive to fix them eventually.
CWARNEXTRA?= -Wno-error-tautological-compare -Wno-error-empty-body \
- -Wno-error-parentheses-equality ${NO_WFORMAT}
+ -Wno-error-parentheses-equality -Wno-unused-function \
+ ${NO_WFORMAT}
.endif
# External compilers may not support our format extensions. Allow them
OpenPOWER on IntegriCloud