diff options
author | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-05 20:43:33 +0400 |
---|---|---|
committer | Albert ARIBAUD <albert.u.boot@aribaud.net> | 2012-10-05 23:24:22 +0400 |
commit | 28e5ac2d974547bde0c72aa0c1d66fd22c6ef3ad (patch) | |
tree | de8ed4cbec19d751f36b47c52bbf7d18115b72a0 /arch/arm/cpu/armv7/config.mk | |
parent | 99a9f41a3ede59a69a9f81908aea7fd34e374842 (diff) | |
download | u-boot-28e5ac2d974547bde0c72aa0c1d66fd22c6ef3ad.tar.xz |
arm: armv7: temporarily set -mno-unaligned-access
This patch aims at ensuring that the 2012.10 release works
out-of-the-box on as many targets as possible, by reinstating
commit 5347560f5427bcdd48a563b62180481606ac8044, which adds
option -mno-unaligned-access to armv7 builds.
This patch will be overriden immediately after release of 2012.10.
Diffstat (limited to 'arch/arm/cpu/armv7/config.mk')
-rw-r--r-- | arch/arm/cpu/armv7/config.mk | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/cpu/armv7/config.mk b/arch/arm/cpu/armv7/config.mk index 5407cb68a8..560c084dc9 100644 --- a/arch/arm/cpu/armv7/config.mk +++ b/arch/arm/cpu/armv7/config.mk @@ -26,6 +26,8 @@ PLATFORM_RELFLAGS += -fno-common -ffixed-r8 -msoft-float # supported by more tool-chains PF_CPPFLAGS_ARMV7 := $(call cc-option, -march=armv7-a, -march=armv5) PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_ARMV7) +PF_CPPFLAGS_NO_UNALIGNED := $(call cc-option, -mno-unaligned-access,) +PLATFORM_CPPFLAGS += $(PF_CPPFLAGS_NO_UNALIGNED) # ========================================================================= # |