summaryrefslogtreecommitdiff
path: root/cpu/mpc85xx/config.mk
diff options
context:
space:
mode:
authorKumar Gala <galak@kernel.crashing.org>2008-04-29 12:54:59 -0500
committerWolfgang Denk <wd@denx.de>2008-04-29 20:08:43 +0200
commit70a0f81412b0b18a6fd0bea960451bc6c2cca49a (patch)
treedc6181d5f659a1c309957e328d2cd9d547e0e59e /cpu/mpc85xx/config.mk
parent84666476841cef3ef6df5c5a2a110d43b0936999 (diff)
downloadu-boot-imx-70a0f81412b0b18a6fd0bea960451bc6c2cca49a.zip
u-boot-imx-70a0f81412b0b18a6fd0bea960451bc6c2cca49a.tar.gz
u-boot-imx-70a0f81412b0b18a6fd0bea960451bc6c2cca49a.tar.bz2
85xx: Add -mno-spe to e500/85xx builds
Newer gcc's might be configured to enable autovectorization by default. If we happen to build with one of those compilers we will get SPE instructions in random code. -mno-spe disables the compiler for automatically generating SPE instructions without our knowledge. Signed-off-by: Kumar Gala <galak@kernel.crashing.org>
Diffstat (limited to 'cpu/mpc85xx/config.mk')
-rw-r--r--cpu/mpc85xx/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/mpc85xx/config.mk b/cpu/mpc85xx/config.mk
index f6df702..9e574a2 100644
--- a/cpu/mpc85xx/config.mk
+++ b/cpu/mpc85xx/config.mk
@@ -25,3 +25,4 @@ PLATFORM_RELFLAGS += -fPIC -ffixed-r14 -meabi
PLATFORM_CPPFLAGS += -DCONFIG_MPC85xx -DCONFIG_E500 -ffixed-r2 \
-Wa,-me500 -msoft-float -mno-string
+PLATFORM_CPPFLAGS +=$(call cc-option,-mno-spe)