Browse Source

Use systems_darwin set for supported targets for as_clang_llvm_darwin

Pierre Muller 2 years ago
parent
commit
2a4ca98e85
1 changed files with 1 additions and 1 deletions
  1. 1 1
      compiler/llvm/agllvm.pas

+ 1 - 1
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;