aboutsummaryrefslogtreecommitdiff
path: root/devel/electron12/files/patch-build_config_compiler_compiler.gni
blob: 4cee40235353225a2c8cd162df6892d967fe3594 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- build/config/compiler/compiler.gni.orig	2021-04-14 01:08:36 UTC
+++ build/config/compiler/compiler.gni
@@ -201,7 +201,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 = !is_bsd && !use_lld && !(is_chromecast && is_linux &&
                            (current_cpu == "arm" || current_cpu == "mipsel")) &&
              (((is_linux || is_chromeos_lacros) &&
                (current_cpu == "x64" || current_cpu == "x86" ||