[target/generic] deal with 'set-but-unused-variables' in a more generic way
[openwrt.git] / target / linux / generic / patches-2.6.37 / 970-mips-gcc-4.6-set-but-unused-fixes.patch
1 --- linux-2.6.37.6.org/Makefile 2012-03-28 17:10:58.297558774 +0200
2 +++ linux-2.6.37.6.mod/Makefile 2012-03-28 17:15:00.161564521 +0200
3 @@ -354,7 +354,8 @@
4 -fno-strict-aliasing -fno-common \
5 -Werror-implicit-function-declaration \
6 -Wno-format-security \
7 - -fno-delete-null-pointer-checks
8 + -fno-delete-null-pointer-checks \
9 + -Wno-error=unused-but-set-variable
10 KBUILD_AFLAGS_KERNEL :=
11 KBUILD_CFLAGS_KERNEL :=
12 KBUILD_AFLAGS := -D__ASSEMBLY__
This page took 0.057176 seconds and 5 git commands to generate.