aboutsummaryrefslogtreecommitdiff
path: root/www/deno/files/patch-cargo-crates_rusty__v8_build_config_sysroot.gni
blob: b4e2d48294223709b888647d7e8b9fd3ccc9a05a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
--- cargo-crates/rusty_v8-0.32.0/build/config/sysroot.gni.orig	2020-06-26 16:27:54 UTC
+++ cargo-crates/rusty_v8-0.32.0/build/config/sysroot.gni
@@ -21,9 +21,9 @@ declare_args() {
 
   # Controls default is_linux sysroot. If set to true, and sysroot
   # is empty, default sysroot is calculated.
-  use_sysroot = current_cpu == "x86" || current_cpu == "x64" ||
+  use_sysroot = !is_bsd && (current_cpu == "x86" || current_cpu == "x64" ||
                 current_cpu == "arm" || current_cpu == "arm64" ||
-                current_cpu == "mipsel" || current_cpu == "mips64el"
+                current_cpu == "mipsel" || current_cpu == "mips64el")
 }
 
 if (sysroot == "") {