From 13c6f3cb8b98225748a2b042d117bbd433630d07 Mon Sep 17 00:00:00 2001 From: Dave Jones Date: Thu, 21 Apr 2011 17:28:13 -0400 Subject: [PATCH] --- yaml --- r: 250751 b: refs/heads/master c: af0e5d565d2fffcd97d1e2d89669d627cc04e8b8 h: refs/heads/master i: 250749: 17a8758e24ba222eb25d143949b1266c7814fc71 250747: 18faf9f896bdfdcdedc7faf35d9c1c4af0a7ee0a 250743: e8274e62605a278f0893f0a7b7718052773143e9 250735: 9b2c30caa9bfceeb88624c41800be8c6fbcd84f5 250719: d294856f45fba687444390c773c075ae022c0371 250687: d39139a3f4ce17b165e6eae6661cff1b1a7e5ef0 250623: 9d83f4bf008f5d9ee488c4b35f89dc7acd8030ee v: v3 --- [refs] | 2 +- trunk/Makefile | 4 ++++ trunk/scripts/Makefile.build | 1 + 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/[refs] b/[refs] index 2d7cbacf1df2..b24d3fe88216 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f07726048d599acd6bac438e304645a78db753c0 +refs/heads/master: af0e5d565d2fffcd97d1e2d89669d627cc04e8b8 diff --git a/trunk/Makefile b/trunk/Makefile index e509cc704968..4527dc23a724 100644 --- a/trunk/Makefile +++ b/trunk/Makefile @@ -567,6 +567,10 @@ ifndef CONFIG_CC_STACKPROTECTOR KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector) endif +# This warning generated too much noise in a regular build. +# Use make W=1 to enable this warning (see scripts/Makefile.build) +KBUILD_CFLAGS += $(call cc-option, -Wno-unused-but-set-variable) + ifdef CONFIG_FRAME_POINTER KBUILD_CFLAGS += -fno-omit-frame-pointer -fno-optimize-sibling-calls else diff --git a/trunk/scripts/Makefile.build b/trunk/scripts/Makefile.build index 9c0c48127946..9fb19c0fbf8c 100644 --- a/trunk/scripts/Makefile.build +++ b/trunk/scripts/Makefile.build @@ -66,6 +66,7 @@ warning-1 += -Wmissing-format-attribute warning-1 += -Wmissing-prototypes warning-1 += -Wold-style-definition warning-1 += $(call cc-option, -Wmissing-include-dirs) +warning-1 += $(call cc-option, -Wunused-but-set-variable) warning-2 := -Waggregate-return warning-2 += -Wcast-align