diff options
author | Ayke van Laethem <[email protected]> | 2021-11-04 00:22:42 +0100 |
---|---|---|
committer | Ron Evans <[email protected]> | 2021-11-05 09:42:00 +0100 |
commit | fce403b7a010e9e4bb303e2776adb9bd6c747ed0 (patch) | |
tree | 056ec3f501eecf42e9e7880f9666c09b4c6b0472 /targets/cortex-m33.json | |
parent | fb33f3813d01a33c52e82a51f026cd28107659f9 (diff) | |
download | tinygo-fce403b7a010e9e4bb303e2776adb9bd6c747ed0.tar.gz tinygo-fce403b7a010e9e4bb303e2776adb9bd6c747ed0.zip |
targets: match LLVM triple to the one Clang uses
The target triples have to match mostly to be able to link LLVM modules.
Linking LLVM modules is already possible (the triples already match),
but testing becomes much easier when they match exactly.
For macOS, I picked "macosx10.12.0". That's an old and unsupported
version, but I had to pick _something_. Clang by default uses
"macos10.4.0", which is much older.
Diffstat (limited to 'targets/cortex-m33.json')
-rw-r--r-- | targets/cortex-m33.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/targets/cortex-m33.json b/targets/cortex-m33.json index 0dc79a5fc..9b74ad163 100644 --- a/targets/cortex-m33.json +++ b/targets/cortex-m33.json @@ -1,6 +1,6 @@ { "inherits": ["cortex-m"], - "llvm-target": "armv7m-unknown-unknown-eabi", + "llvm-target": "thumbv7m-unknown-unknown-eabi", "cflags": [ "-mfloat-abi=soft" ] |