mirror of
https://github.com/gentoo-mirror/guru.git
synced 2026-04-07 03:10:15 -04:00
16 lines
539 B
Diff
16 lines
539 B
Diff
# Swift defaults to building with `gold` on Linux because `bfd` can't correctly
|
|
# handle Swift symbols; Gentoo no longer supports `gold`, so we have to make
|
|
# sure that we build with `lld`.
|
|
|
|
--- a/swift/lib/Driver/UnixToolChains.cpp
|
|
+++ b/swift/lib/Driver/UnixToolChains.cpp
|
|
@@ -88,7 +88,7 @@ ToolChain::InvocationInfo toolchains::GenericUnix::constructInvocation(
|
|
}
|
|
|
|
std::string toolchains::GenericUnix::getDefaultLinker() const {
|
|
- return "";
|
|
+ return "lld";
|
|
}
|
|
|
|
bool toolchains::GenericUnix::addRuntimeRPath(const llvm::Triple &T,
|