aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/generic/patches-2.6.37/970-mips-gcc-4.6-set-but-unused-fixes.patch
blob: 35e6cb3ff2b95c1a0ffa5457c8375956a54ebbb6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
--- linux-2.6.37.6.org/Makefile	2012-03-28 17:10:58.297558774 +0200
+++ linux-2.6.37.6.mod/Makefile	2012-03-28 17:15:00.161564521 +0200
@@ -354,7 +354,8 @@
 		   -fno-strict-aliasing -fno-common \
 		   -Werror-implicit-function-declaration \
 		   -Wno-format-security \
-		   -fno-delete-null-pointer-checks
+		   -fno-delete-null-pointer-checks \
+		   -Wno-error=unused-but-set-variable
 KBUILD_AFLAGS_KERNEL :=
 KBUILD_CFLAGS_KERNEL :=
 KBUILD_AFLAGS   := -D__ASSEMBLY__