diff options
Diffstat (limited to 'www/iridium/files/patch-build_config_compiler_compiler.gni')
-rw-r--r-- | www/iridium/files/patch-build_config_compiler_compiler.gni | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/www/iridium/files/patch-build_config_compiler_compiler.gni b/www/iridium/files/patch-build_config_compiler_compiler.gni new file mode 100644 index 000000000000..5826499ed89a --- /dev/null +++ b/www/iridium/files/patch-build_config_compiler_compiler.gni @@ -0,0 +1,20 @@ +--- build/config/compiler/compiler.gni.orig 2020-03-16 18:40:27 UTC ++++ build/config/compiler/compiler.gni +@@ -47,7 +47,7 @@ declare_args() { + # only two architectures that are currently checked in). Turn this off when + # you are using a custom toolchain and need to control -B in cflags. + linux_use_bundled_binutils = +- linux_use_bundled_binutils_override && is_linux && ++ linux_use_bundled_binutils_override && (is_linux && !is_bsd) && + (current_cpu == "x64" || current_cpu == "x86") + binutils_path = rebase_path("//third_party/binutils/Linux_x64/Release/bin", + root_build_dir) +@@ -200,7 +200,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 && ++ !is_bsd && !use_lld && !(is_chromecast && is_linux && + (current_cpu == "arm" || current_cpu == "mipsel")) && + ((is_linux && (current_cpu == "x64" || current_cpu == "x86" || + current_cpu == "arm" || current_cpu == "arm64" || |