From a5bad32b7c1bfd2b0578d7cb2eaffa71bf4d34ab Mon Sep 17 00:00:00 2001
From: Jonas Maebe <jonas@freepascal.org>
Date: Sat, 25 Jul 2020 16:11:54 +0000
Subject: [PATCH]   - removed no longer used -target $TARGET parameter (triplet
 is used instead)

git-svn-id: trunk@45853 -
---
 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 e7d9a2782b..fa6e4cfa8c 100644
--- a/compiler/llvm/agllvm.pas
+++ b/compiler/llvm/agllvm.pas
@@ -1678,7 +1678,7 @@ implementation
           id     : as_clang_llvm;
           idtxt  : 'CLANG-LLVM';
           asmbin : 'clang';
-          asmcmd: '-x ir -target $TARGET $OPT -target $TRIPLET -c -o $OBJ $ASM $EXTRAOPT';
+          asmcmd: '-x ir $OPT -target $TRIPLET -c -o $OBJ $ASM $EXTRAOPT';
           supported_targets : [system_x86_64_linux,system_x86_64_darwin,system_aarch64_darwin,system_aarch64_linux,system_arm_linux];
           flags : [af_smartlink_sections,af_llvm];
           labelprefix : 'L';