Skip to content

Commit 250aa60

Browse files
committed
Change Default Linker to Gold for x86
For the same reasons that ARM 32-bit Linux needs gold, we should be using the same linker by default for x86/i686.
1 parent d480362 commit 250aa60

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

lib/Driver/UnixToolChains.cpp

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -111,6 +111,7 @@ std::string toolchains::GenericUnix::getDefaultLinker() const {
111111
// final executables, as such, unless specified, we default to gold
112112
// linker.
113113
return "gold";
114+
case llvm::Triple::x86:
114115
case llvm::Triple::x86_64:
115116
case llvm::Triple::ppc64:
116117
case llvm::Triple::ppc64le:

0 commit comments

Comments
 (0)