commit:     a66c6fc7ab609d726fb252e471914f0fb3a631fa
Author:     Marco Rebhan <me <AT> dblsaiko <DOT> net>
AuthorDate: Mon Feb 10 19:53:45 2025 +0000
Commit:     David Roman <davidroman96 <AT> gmail <DOT> com>
CommitDate: Mon Feb 10 23:46:30 2025 +0000
URL:        https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=a66c6fc7

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

Signed-off-by: Marco Rebhan <me <AT> dblsaiko.net>

 dev-lang/swift/swift-5.10.1-r3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/dev-lang/swift/swift-5.10.1-r3.ebuild 
b/dev-lang/swift/swift-5.10.1-r3.ebuild
index 2f217d618..09858bfb7 100644
--- a/dev-lang/swift/swift-5.10.1-r3.ebuild
+++ b/dev-lang/swift/swift-5.10.1-r3.ebuild
@@ -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.

Reply via email to