--- build/config/compiler/compiler.gni.orig 2022-01-23 11:59:03 UTC +++ build/config/compiler/compiler.gni @@ -224,7 +224,7 @@ declare_args() { declare_args() { # Whether to use the gold linker from binutils instead of lld or bfd. - use_gold = !use_lld && !(is_chromecast && is_linux && + use_gold = !use_lld && !is_bsd && !(is_chromecast && is_linux && (current_cpu == "arm" || current_cpu == "mipsel")) && (((is_linux || is_chromeos_lacros) && (current_cpu == "x64" || current_cpu == "x86" ||