summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/toolchains/llvm/xmake.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/toolchains/llvm/xmake.lua b/xmake/toolchains/llvm/xmake.lua
index dbc79e244..0cd42f525 100644
--- a/xmake/toolchains/llvm/xmake.lua
+++ b/xmake/toolchains/llvm/xmake.lua
@@ -67,8 +67,7 @@ toolchain("llvm")
end
end
elseif toolchain:is_plat("cross") then
- local cross = toolchain:cross():gsub("(.*)%-$", "%1")
- target = "--target=" .. cross
+ target = toolchain:cross():gsub("(.*)%-$", "%1")
end
local target_flags
if target then