summaryrefslogtreecommitdiff
path: root/devel/electron13/files/patch-build_toolchain_linux_BUILD.gn
diff options
context:
space:
mode:
Diffstat (limited to 'devel/electron13/files/patch-build_toolchain_linux_BUILD.gn')
-rw-r--r--devel/electron13/files/patch-build_toolchain_linux_BUILD.gn21
1 files changed, 21 insertions, 0 deletions
diff --git a/devel/electron13/files/patch-build_toolchain_linux_BUILD.gn b/devel/electron13/files/patch-build_toolchain_linux_BUILD.gn
new file mode 100644
index 000000000000..e645c67c1b50
--- /dev/null
+++ b/devel/electron13/files/patch-build_toolchain_linux_BUILD.gn
@@ -0,0 +1,21 @@
+--- build/toolchain/linux/BUILD.gn.orig 2021-07-15 19:13:30 UTC
++++ build/toolchain/linux/BUILD.gn
+@@ -15,7 +15,9 @@ clang_toolchain("clang_ppc64") {
+ }
+
+ clang_toolchain("clang_arm") {
+- toolprefix = "arm-linux-gnueabihf-"
++ if (!is_bsd) {
++ toolprefix = "arm-linux-gnueabihf-"
++ }
+ toolchain_args = {
+ current_cpu = "arm"
+ current_os = "linux"
+@@ -23,7 +25,6 @@ clang_toolchain("clang_arm") {
+ }
+
+ clang_toolchain("clang_arm64") {
+- toolprefix = "aarch64-linux-gnu-"
+ toolchain_args = {
+ current_cpu = "arm64"
+ current_os = "linux"