summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-build_config_compiler_compiler.gni
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-build_config_compiler_compiler.gni')
-rw-r--r--devel/electron13/files/patch-build_config_compiler_compiler.gni11
1 files changed, 11 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-build_config_compiler_compiler.gni b/devel/electron13/files/patch-build_config_compiler_compiler.gni
new file mode 100644
index 000000000000..290c12c2cd84
--- /dev/null
+++ b/devel/electron13/files/patch-build_config_compiler_compiler.gni
@@ -0,0 +1,11 @@
+--- build/config/compiler/compiler.gni.orig 2021-07-15 19:13:30 UTC
++++ build/config/compiler/compiler.gni
+@@ -202,7 +202,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" ||