aboutsummaryrefslogtreecommitdiff
path: root/cross/armclang.txt
diff options
context:
space:
mode:
Diffstat (limited to 'cross/armclang.txt')
-rw-r--r--cross/armclang.txt8
1 files changed, 4 insertions, 4 deletions
diff --git a/cross/armclang.txt b/cross/armclang.txt
index 6146e0d..aad7efc 100644
--- a/cross/armclang.txt
+++ b/cross/armclang.txt
@@ -2,16 +2,16 @@
# to the environment(PATH) variable, so that Meson can find
# the armclang, armlink and armar while building.
[binaries]
-c = 'armclang'
-cpp = 'armclang'
+c = ['armclang', '--target=arm-arm-none-eabi']
+cpp = ['armclang', '--target=arm-arm-none-eabi']
ar = 'armar'
strip = 'armar'
[built-in options]
# The '--target', '-mcpu' options with the appropriate values should be mentioned
# to cross compile c/c++ code with armclang.
-c_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus']
-cpp_args = ['--target=arm-arm-none-eabi', '-mcpu=cortex-m0plus']
+c_args = ['-mcpu=cortex-m0plus']
+cpp_args = ['-mcpu=cortex-m0plus']
[host_machine]
system = 'bare metal' # Update with your system name - bare metal/OS.