diff options
author | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:23:13 +0800 |
---|---|---|
committer | Po-Chuan Hsieh <sunpoet@FreeBSD.org> | 2021-11-01 21:41:20 +0800 |
commit | f366d96316722f0acfe0183f844e6fd3d6a5d80a (patch) | |
tree | 808dd1232fb31124178da216b9c5d7d288a9eba8 /lang/v8-beta/files/patch-build_config_sysroot.gni | |
parent | databases/caterva: Add caterva 0.5.0 (diff) |
lang/v8-beta: Add v8-beta 9.6.180.5
Changes: https://v8.dev/blog/v8-release-96
https://chromium.googlesource.com/v8/v8.git/+log/refs/heads/9.6-lkgr
https://github.com/v8/v8/commits/9.6-lkgr
Diffstat (limited to 'lang/v8-beta/files/patch-build_config_sysroot.gni')
-rw-r--r-- | lang/v8-beta/files/patch-build_config_sysroot.gni | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/lang/v8-beta/files/patch-build_config_sysroot.gni b/lang/v8-beta/files/patch-build_config_sysroot.gni new file mode 100644 index 000000000000..8b68404769fb --- /dev/null +++ b/lang/v8-beta/files/patch-build_config_sysroot.gni @@ -0,0 +1,14 @@ +--- build/config/sysroot.gni.orig 2020-05-13 18:39:36 UTC ++++ 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 == "") { |