]> git.sur5r.net Git - u-boot/blobdiff - cpu/arm_intcm/config.mk
Merge branch 'master' of ssh://10.10.0.7/home/wd/git/u-boot/master
[u-boot] / 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,))