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.mk5
1 files changed, 1 insertions, 4 deletions
diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk
index 0013dd2..4dac285 100644
--- a/sys/conf/kern.mk
+++ b/sys/conf/kern.mk
@@ -12,10 +12,7 @@ CWARNFLAGS=
.else
CWARNFLAGS?= -Wall -Wredundant-decls -Wnested-externs -Wstrict-prototypes \
-Wmissing-prototypes -Wpointer-arith -Winline -Wcast-qual \
- ${_wundef} ${_Wno_pointer_sign} -fformat-extensions
-.if !defined(WITH_GCC3)
-_Wno_pointer_sign=-Wno-pointer-sign
-.endif
+ ${_wundef} -Wno-pointer-sign -fformat-extensions
.if !defined(NO_UNDEF)
_wundef= -Wundef
.endif
OpenPOWER on IntegriCloud