]> git.ipfire.org Git - people/ms/u-boot.git/blobdiff - cpu/arm_intcm/config.mk
ARM: fix warning: target CPU does not support interworking
[people/ms/u-boot.git] / cpu / arm_intcm / config.mk
index 81ca2885e227b881aacb71d6bd037ebceef9589a..f774c7e8276dcc98ad26f3b6db5aaa4c558d1b9e 100644 (file)
@@ -25,3 +25,10 @@ PLATFORM_RELFLAGS += -fno-strict-aliasing  -fno-common -ffixed-r8 \
         -msoft-float
 
 PLATFORM_CPPFLAGS +=  -march=armv4
+# =========================================================================
+#
+# Supply options according to compiler version
+#
+# =========================================================================
+PLATFORM_CPPFLAGS +=$(call cc-option,-mapcs-32,-mabi=apcs-gnu)
+PLATFORM_RELFLAGS +=$(call cc-option,-mshort-load-bytes,$(call cc-option,-malignment-traps,))