X-Git-Url: http://git.cascardo.info/?a=blobdiff_plain;f=arch%2Fx86%2FMakefile;h=58ea55ce24238c8981e8fd1ec07ee6c19457593b;hb=b2aaf8f74cdc84a9182f6cabf198b7763bcb9d40;hp=919ce21ea6545592fb10ce10461d0d1f053a3d00;hpb=dc7c65db2845a8d17432d89252c4227a9a7cb15f;p=cascardo%2Flinux.git diff --git a/arch/x86/Makefile b/arch/x86/Makefile index 919ce21ea654..58ea55ce2423 100644 --- a/arch/x86/Makefile +++ b/arch/x86/Makefile @@ -73,7 +73,7 @@ else stackp := $(CONFIG_SHELL) $(srctree)/scripts/gcc-x86_64-has-stack-protector.sh stackp-$(CONFIG_CC_STACKPROTECTOR) := $(shell $(stackp) \ - "$(CC)" -fstack-protector ) + "$(CC)" "-fstack-protector -DGCC_HAS_SP" ) stackp-$(CONFIG_CC_STACKPROTECTOR_ALL) += $(shell $(stackp) \ "$(CC)" -fstack-protector-all ) @@ -118,11 +118,6 @@ mflags-$(CONFIG_X86_GENERICARCH):= -Iinclude/asm-x86/mach-generic fcore-$(CONFIG_X86_GENERICARCH) += arch/x86/mach-generic/ mcore-$(CONFIG_X86_GENERICARCH) := arch/x86/mach-default/ -# RDC R-321x subarch support -mflags-$(CONFIG_X86_RDC321X) := -Iinclude/asm-x86/mach-rdc321x -mcore-$(CONFIG_X86_RDC321X) := arch/x86/mach-default/ -core-$(CONFIG_X86_RDC321X) += arch/x86/mach-rdc321x/ - # default subarch .h files mflags-y += -Iinclude/asm-x86/mach-default