23 lines
884 B
Diff
23 lines
884 B
Diff
diff --git build/config/compiler/BUILD.gn build/config/compiler/BUILD.gn
|
|
index d1a9bfa30cb2..3c74d4acdda2 100644
|
|
--- build/config/compiler/BUILD.gn
|
|
+++ build/config/compiler/BUILD.gn
|
|
@@ -152,7 +152,7 @@ declare_args() {
|
|
!use_clang_coverage && !(is_android && use_order_profiling) &&
|
|
(use_lld ||
|
|
(use_gold &&
|
|
- ((!is_android && linux_use_bundled_binutils) || is_chromeos ||
|
|
+ ((!is_android && linux_use_bundled_binutils && current_cpu != "x86") || is_chromeos ||
|
|
!(current_cpu == "x86" || current_cpu == "x64"))))
|
|
}
|
|
|
|
@@ -1728,8 +1728,6 @@ config("thin_archive") {
|
|
# archive names to 16 characters, which is not what we want).
|
|
if ((is_posix && !is_nacl && !is_mac && !is_ios) || is_fuchsia) {
|
|
arflags = [ "-T" ]
|
|
- } else if (is_win && use_lld) {
|
|
- arflags = [ "/llvmlibthin" ]
|
|
}
|
|
}
|
|
|