Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 366579 | Differences between
and this patch

Collapse All | Expand All

(-)a/Makefile (+4 lines)
Lines 559-564 ifndef CONFIG_CC_STACKPROTECTOR Link Here
559
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
559
KBUILD_CFLAGS += $(call cc-option, -fno-stack-protector)
560
endif
560
endif
561
561
562
# This warning generated too much noise in a regular build.
563
# Use make W=1 to enable this warning (see scripts/Makefile.build)
564
KBUILD_CFLAGS += $(call cc-option, -Wno-unused-but-set-variable)
565
562
ifdef CONFIG_FRAME_POINTER
566
ifdef CONFIG_FRAME_POINTER
563
KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
567
KBUILD_CFLAGS	+= -fno-omit-frame-pointer -fno-optimize-sibling-calls
564
else
568
else
(-)a/scripts/Makefile.build (+1 lines)
Lines 80-85 KBUILD_EXTRA_WARNINGS += -Wredundant-decls Link Here
80
KBUILD_EXTRA_WARNINGS += -Wshadow
80
KBUILD_EXTRA_WARNINGS += -Wshadow
81
KBUILD_EXTRA_WARNINGS += -Wswitch-default
81
KBUILD_EXTRA_WARNINGS += -Wswitch-default
82
KBUILD_EXTRA_WARNINGS += $(call cc-option, -Wvla,)
82
KBUILD_EXTRA_WARNINGS += $(call cc-option, -Wvla,)
83
KBUILD_EXTRA_WARNINGS += $(call cc-option, -Wunused-but-set-variable)
83
KBUILD_CFLAGS += $(KBUILD_EXTRA_WARNINGS)
84
KBUILD_CFLAGS += $(KBUILD_EXTRA_WARNINGS)
84
endif
85
endif

Return to bug 366579