From fce403b7a010e9e4bb303e2776adb9bd6c747ed0 Mon Sep 17 00:00:00 2001 From: Ayke van Laethem Date: Thu, 4 Nov 2021 00:22:42 +0100 Subject: 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. --- targets/cortex-m33.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'targets/cortex-m33.json') 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" ] -- cgit v1.2.3