diff --git a/sys/conf/kern.mk b/sys/conf/kern.mk index 4dac285190a4..0f5cd6605c65 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(NO_UNDEF) -_wundef= -Wundef -.endif + -Wundef -Wno-pointer-sign -fformat-extensions .endif # # The following flags are next up for working on: