Index: build/config/compiler/compiler.gni |
diff --git a/build/config/compiler/compiler.gni b/build/config/compiler/compiler.gni |
index c2e56e4a5b311594e5f2f69d21bdc05ddc811f79..13109c28639bf43b10415136942e174fefad33b3 100644 |
--- a/build/config/compiler/compiler.gni |
+++ b/build/config/compiler/compiler.gni |
@@ -36,7 +36,8 @@ declare_args() { |
declare_args() { |
# Whether to use the gold linker from binutils instead of lld or bfd. |
- use_gold = !use_lld && |
+ use_gold = !use_lld && !(is_chromecast && is_linux && |
+ (current_cpu == "arm" || current_cpu == "mipsel")) && |
((is_linux && (current_cpu == "x64" || current_cpu == "x86" || |
current_cpu == "arm")) || |
(is_android && (current_cpu == "x86" || current_cpu == "x64" || |