summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSascha Hauer <s.hauer@pengutronix.de>2011-12-08 11:06:05 +0100
committerSascha Hauer <s.hauer@pengutronix.de>2011-12-08 11:17:36 +0100
commit1275e364f9bfe3790cd970d264effb9950ccb036 (patch)
tree257be6dd2a9e4e541126a7bd406764abdfcee67d
parenta0bd56c0de93759dc6c75a6cbea2b0ceef36c322 (diff)
downloadbarebox-1275e364f9bfe3790cd970d264effb9950ccb036.tar.gz
barebox-1275e364f9bfe3790cd970d264effb9950ccb036.tar.xz
ARM: pass -msoft-float
This is necessary to prevent NEON instructions from leaking into the binary. Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
-rw-r--r--arch/arm/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/arch/arm/Makefile b/arch/arm/Makefile
index e5e951cd32..a3e12e602a 100644
--- a/arch/arm/Makefile
+++ b/arch/arm/Makefile
@@ -39,8 +39,8 @@ ifeq ($(CONFIG_ARM_UNWIND),y)
CFLAGS_ABI +=-funwind-tables
endif
-CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y)
-AFLAGS += -include asm/unified.h
+CPPFLAGS += $(CFLAGS_ABI) $(arch-y) $(tune-y) -msoft-float
+AFLAGS += -include asm/unified.h -msoft-float
# Machine directory name. This list is sorted alphanumerically
# by CONFIG_* macro name.