summaryrefslogtreecommitdiffstats
path: root/arch/ppc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'arch/ppc/Makefile')
-rw-r--r--arch/ppc/Makefile5
1 files changed, 4 insertions, 1 deletions
diff --git a/arch/ppc/Makefile b/arch/ppc/Makefile
index ebf60edede..8b0c0b4758 100644
--- a/arch/ppc/Makefile
+++ b/arch/ppc/Makefile
@@ -2,7 +2,10 @@ KBUILD_DEFCONFIG := p2020rdb_defconfig
CPPFLAGS += -ffixed-r14 -m32 \
-meabi -D __PPC__ -D CONFIG_PPC \
- -fno-strict-aliasing -mno-spe -mspe=no
+ -fno-strict-aliasing
+
+CPPFLAGS += $(call cc-option,-mno-spe)
+CPPFLAGS += $(call cc-option,-mspe=no)
ifdef CONFIG_RELOCATABLE
CPPFLAGS += -fPIC -mrelocatable