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

Collapse All | Expand All

(-)a/arch/x86/Makefile (-1 / +1 lines)
Lines 74-80 Link Here
74
74
75
ifdef CONFIG_CC_STACKPROTECTOR
75
ifdef CONFIG_CC_STACKPROTECTOR
76
	cc_has_sp := $(srctree)/scripts/gcc-x86_$(BITS)-has-stack-protector.sh
76
	cc_has_sp := $(srctree)/scripts/gcc-x86_$(BITS)-has-stack-protector.sh
77
        ifeq ($(shell $(CONFIG_SHELL) $(cc_has_sp) $(CC) $(biarch)),y)
77
        ifeq ($(shell $(CONFIG_SHELL) $(cc_has_sp) $(CC) $(KBUILD_CPPFLAGS) $(biarch)),y)
78
                stackp-y := -fstack-protector
78
                stackp-y := -fstack-protector
79
                KBUILD_CFLAGS += $(stackp-y)
79
                KBUILD_CFLAGS += $(stackp-y)
80
        else
80
        else

Return to bug 312335