|
@@ -705,9 +705,10 @@ KBUILD_CFLAGS += $(call cc-option, -mno-global-merge,)
|
|
|
KBUILD_CFLAGS += $(call cc-option, -fcatch-undefined-behavior)
|
|
|
else
|
|
|
|
|
|
-# This warning generated too much noise in a regular build.
|
|
|
-# Use make W=1 to enable this warning (see scripts/Makefile.build)
|
|
|
+# These warnings generated too much noise in a regular build.
|
|
|
+# Use make W=1 to enable them (see scripts/Makefile.build)
|
|
|
KBUILD_CFLAGS += $(call cc-disable-warning, unused-but-set-variable)
|
|
|
+KBUILD_CFLAGS += $(call cc-disable-warning, unused-const-variable)
|
|
|
endif
|
|
|
|
|
|
ifdef CONFIG_FRAME_POINTER
|