summaryrefslogtreecommitdiff
path: root/cpu/lh7a40x/config.mk
diff options
context:
space:
mode:
Diffstat (limited to 'cpu/lh7a40x/config.mk')
-rw-r--r--cpu/lh7a40x/config.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/cpu/lh7a40x/config.mk b/cpu/lh7a40x/config.mk
index 10e755bebe1..32fd1d1ebb9 100644
--- a/cpu/lh7a40x/config.mk
+++ b/cpu/lh7a40x/config.mk
@@ -31,4 +31,5 @@ PLATFORM_CPPFLAGS += -march=armv4
#
# ========================================================================
PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
+PLATFORM_CPPFLAGS +=$(call cc-option,-mno-thumb-interwork,)
PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))