aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLubomir Rintel <lkundrak@v3.sk>2019-11-08 14:01:58 +0100
committerMitch Bradley <wmb@firmworks.com>2019-11-08 07:30:53 -1000
commitd4aca313b1637066ad070d6ed4728444b712ff04 (patch)
treeb1e5152828617cfbb33514342b0611af6b0a9960
parent2e7caf333e9c4ba2c01f4d36257c6ff88922dc01 (diff)
downloadcforth-d4aca313b1637066ad070d6ed4728444b712ff04.tar.gz
arm-xo-1.75: set the CPU variant
This makes sure we do build things consistently regardless of compiler defaults or whether we're doing a native or cross build.
-rwxr-xr-xsrc/platform/arm-xo-1.75/targets.mk3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/platform/arm-xo-1.75/targets.mk b/src/platform/arm-xo-1.75/targets.mk
index 86f2eba..75ac7b9 100755
--- a/src/platform/arm-xo-1.75/targets.mk
+++ b/src/platform/arm-xo-1.75/targets.mk
@@ -2,8 +2,11 @@
SRC=$(TOPDIR)/src
+CPU_VARIANT=-marm -mcpu=strongarm110
+
# Target compiler definitions
ifneq "$(findstring arm,$(shell uname -m))" ""
+TCFLAGS += $(CPU_VARIANT)
include $(SRC)/cpu/host/compiler.mk
else
include $(SRC)/cpu/arm/compiler.mk