Skip to content

Commit adefc66

Browse files
committed
fix target for cross
1 parent d1d99cd commit adefc66

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

xmake/toolchains/llvm/xmake.lua

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,8 +67,7 @@ toolchain("llvm")
6767
end
6868
end
6969
elseif toolchain:is_plat("cross") then
70-
local cross = toolchain:cross():gsub("(.*)%-$", "%1")
71-
target = "--target=" .. cross
70+
target = toolchain:cross():gsub("(.*)%-$", "%1")
7271
end
7372
local target_flags
7473
if target then

0 commit comments

Comments
 (0)