wok-4.x view linux/stuff/linux-2.6-no-unused-but-set-variable.patch @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (18 months ago)
parents
children
line source
1 --- linux-2.6.26/Makefile 2012-03-12 18:13:33.804988330 -0400
2 +++ linux-2.6.26/Makefile 2012-03-12 18:17:19.447640136 -0400
3 @@ -543,6 +543,9 @@
4 # disable pointer signed / unsigned warnings in gcc 4.0
5 KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,)
7 +# disable the warning/error for unused but set in gcc 4.6
8 +KBUILD_CFLAGS += $(call cc-option,-Wno-unused-but-set-variable,)
9 +
10 # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments
11 # But warn user when we do so
12 warn-assign = \