dev-lang/swift: Use lld as default linker for Swift LLVM

Signed-off-by: Marco Rebhan <me@dblsaiko.net>
This commit is contained in:
Marco Rebhan committed 2025-02-11 00:46:30 +01:00
1 parent 5bd5663aef
commit a66c6fc7ab
1 file changed
+1
+1
View File
@@ -194,6 +194,7 @@ src_compile() {
# BFD doesn't link Swift symbols properly, so we have to ensure Swift is
# built with LLD.
'-DSWIFT_USE_LINKER=lld',
'-DLLVM_USE_LINKER=lld',
# We don't need to build any test code or test executables, which Swift
# (and some components) does by default.