From 2a4ca98e852939dc2337b66e0c88b9ddab682e8d Mon Sep 17 00:00:00 2001 From: Pierre Muller Date: Thu, 6 Apr 2023 14:40:15 +0000 Subject: [PATCH] Use systems_darwin set for supported targets for as_clang_llvm_darwin --- compiler/llvm/agllvm.pas | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/llvm/agllvm.pas b/compiler/llvm/agllvm.pas index ee91746e6f..f3da27b035 100644 --- a/compiler/llvm/agllvm.pas +++ b/compiler/llvm/agllvm.pas @@ -1803,7 +1803,7 @@ implementation idtxt : 'CLANG-LLVM-DARWIN'; asmbin : 'clang'; asmcmd: '-x ir $OPT -target $TRIPLET -c -o $OBJ $ASM $EXTRAOPT'; - supported_targets : [system_x86_64_darwin,system_aarch64_darwin]; + supported_targets : systems_darwin; flags : [af_smartlink_sections,af_llvm]; labelprefix : 'L'; labelmaxlen : -1;