diff options
Diffstat (limited to 'lang/v8/files/patch-build_config_BUILDCONFIG.gn')
-rw-r--r-- | lang/v8/files/patch-build_config_BUILDCONFIG.gn | 14 |
1 files changed, 5 insertions, 9 deletions
diff --git a/lang/v8/files/patch-build_config_BUILDCONFIG.gn b/lang/v8/files/patch-build_config_BUILDCONFIG.gn index d06fbd3ddec1..a58edd5f70e8 100644 --- a/lang/v8/files/patch-build_config_BUILDCONFIG.gn +++ b/lang/v8/files/patch-build_config_BUILDCONFIG.gn @@ -1,19 +1,15 @@ ---- build/config/BUILDCONFIG.gn.orig 2020-11-16 14:30:51 UTC +--- build/config/BUILDCONFIG.gn.orig 2021-05-01 21:15:31 UTC +++ build/config/BUILDCONFIG.gn -@@ -131,10 +131,10 @@ declare_args() { +@@ -131,7 +131,7 @@ declare_args() { is_official_build = false - # Whether we're a traditional desktop unix. -- is_desktop_linux = current_os == "linux" -+ is_desktop_linux = current_os == "linux" || current_os == "freebsd" - # Set to true when compiling with the Clang compiler. - is_clang = current_os != "linux" || + is_clang = current_os != "linux" || current_os == "freebsd" || (current_cpu != "s390x" && current_cpu != "s390" && current_cpu != "ppc64" && current_cpu != "ppc" && current_cpu != "mips" && current_cpu != "mips64") -@@ -186,8 +186,8 @@ if (host_toolchain == "") { +@@ -183,8 +183,8 @@ if (host_toolchain == "") { # TODO(dpranke): Add some sort of assert here that verifies that # no toolchain omitted host_toolchain from its toolchain_args(). @@ -24,7 +20,7 @@ host_toolchain = "//build/toolchain/linux:clang_$host_cpu" } else if (is_clang) { host_toolchain = "//build/toolchain/linux:clang_$host_cpu" -@@ -224,7 +224,7 @@ if (target_os == "android") { +@@ -221,7 +221,7 @@ if (target_os == "android") { assert(host_os == "linux" || host_os == "mac", "Android builds are only supported on Linux and Mac hosts.") _default_toolchain = "//build/toolchain/android:android_clang_$target_cpu" @@ -33,7 +29,7 @@ # See comments in build/toolchain/cros/BUILD.gn about board compiles. if (is_clang) { _default_toolchain = "//build/toolchain/linux:clang_$target_cpu" -@@ -288,10 +288,11 @@ is_android = current_os == "android" +@@ -285,10 +285,11 @@ is_android = current_os == "android" is_chromeos = current_os == "chromeos" is_fuchsia = current_os == "fuchsia" is_ios = current_os == "ios" |