2010-03-31 Magnus Granberg #312335 arch/x86/Makefile: Add KBUILD_CPPFLAGS to the SSP test commandline for else it build that file with -fPIE --- a/arch/x86/Makefile 2010-03-31 16:39:32.000000000 +0200 +++ b/arch/x86/Makefile 2010-03-31 16:36:53.000000000 +0200 @@ -74,7 +74,7 @@ ifdef CONFIG_CC_STACKPROTECTOR cc_has_sp := $(srctree)/scripts/gcc-x86_$(BITS)-has-stack-protector.sh - ifeq ($(shell $(CONFIG_SHELL) $(cc_has_sp) $(CC) $(biarch)),y) + ifeq ($(shell $(CONFIG_SHELL) $(cc_has_sp) $(CC) $(KBUILD_CPPFLAGS) $(biarch)),y) stackp-y := -fstack-protector KBUILD_CFLAGS += $(stackp-y) else