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
2025-02-10 20:53:45 +01:00
parent 5bd5663aef
commit a66c6fc7ab

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.