summaryrefslogtreecommitdiff
path: root/xmake/toolchains/swift/xmake.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2023-07-10 23:04:10 +0800
committerruki <[email protected]>2023-07-10 23:04:10 +0800
commit7bd90133902bc03bbc6b10f20a6aa7149f626caa (patch)
treeeb96182a1203e31151580778bd6962e451a5801a /xmake/toolchains/swift/xmake.lua
parent156be4bc270fe164e15693389c83277b4e49c195 (diff)
add has_flags for swift-frontend
Diffstat (limited to 'xmake/toolchains/swift/xmake.lua')
-rw-r--r--xmake/toolchains/swift/xmake.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/toolchains/swift/xmake.lua b/xmake/toolchains/swift/xmake.lua
index 1d9d1279b..2dec302bf 100644
--- a/xmake/toolchains/swift/xmake.lua
+++ b/xmake/toolchains/swift/xmake.lua
@@ -26,7 +26,7 @@ toolchain("swift")
set_description("Swift Programming Language Compiler")
-- set toolset
- set_toolset("sc", "$(env SC)", "swiftc")
+ set_toolset("sc", "$(env SC)", "swift-frontend", "swiftc")
set_toolset("scld", "$(env SC)", "swiftc")
set_toolset("scsh", "$(env SC)", "swiftc")