wok-4.x annotate 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 |
rev | line source |
---|---|
shann@12471 | 1 --- linux-2.6.26/Makefile 2012-03-12 18:13:33.804988330 -0400 |
shann@12471 | 2 +++ linux-2.6.26/Makefile 2012-03-12 18:17:19.447640136 -0400 |
shann@12471 | 3 @@ -543,6 +543,9 @@ |
shann@12471 | 4 # disable pointer signed / unsigned warnings in gcc 4.0 |
shann@12471 | 5 KBUILD_CFLAGS += $(call cc-option,-Wno-pointer-sign,) |
shann@12471 | 6 |
shann@12471 | 7 +# disable the warning/error for unused but set in gcc 4.6 |
shann@12471 | 8 +KBUILD_CFLAGS += $(call cc-option,-Wno-unused-but-set-variable,) |
shann@12471 | 9 + |
shann@12471 | 10 # Add user supplied CPPFLAGS, AFLAGS and CFLAGS as the last assignments |
shann@12471 | 11 # But warn user when we do so |
shann@12471 | 12 warn-assign = \ |
shann@12471 | 13 |