1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00
freebsd-ports/lang/v8/files/patch-build_config_sysroot.gni
Mikael Urankar 9a4ce488e8 lang/v8: Update to 8.7.220.23
PR:		213202
Reported by:	many
Approved by:	sunpoet (maintainer timeout)
2020-11-20 10:41:13 +00:00

15 lines
615 B
Plaintext

--- 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 == "") {