diff options
Diffstat (limited to 'www/deno/files/patch-v8_build_config_sysroot.gni')
-rw-r--r-- | www/deno/files/patch-v8_build_config_sysroot.gni | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/www/deno/files/patch-v8_build_config_sysroot.gni b/www/deno/files/patch-v8_build_config_sysroot.gni new file mode 100644 index 000000000000..f5c070d93cc3 --- /dev/null +++ b/www/deno/files/patch-v8_build_config_sysroot.gni @@ -0,0 +1,14 @@ +--- cargo-crates/v8-135.1.0/build/config/sysroot.gni.orig ++++ cargo-crates/v8-135.1.0/build/config/sysroot.gni +@@ -20,9 +20,11 @@ declare_args() { + # Controls default is_linux sysroot. If set to true, and sysroot + # is empty, default sysroot is calculated. + use_sysroot = ++ !is_bsd && ( + current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" || + current_cpu == "arm64" || current_cpu == "mipsel" || + current_cpu == "mips64el" || (current_cpu == "riscv64" && is_android) ++ ) + } + + if (sysroot == "") { |