1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-02-07 11:49:40 +00:00
freebsd-ports/lang/v8/files/patch-build_config_BUILD.gn
2022-05-13 19:39:16 +08:00

31 lines
1.1 KiB
Plaintext

--- build/config/BUILD.gn.orig 2022-04-04 20:12:26 UTC
+++ build/config/BUILD.gn
@@ -121,7 +121,7 @@ config("debug") {
# builds, and we have to tell it to turn it off.
defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
}
- } else if ((is_linux || is_chromeos) && current_cpu == "x64" &&
+ } else if ((is_linux || is_chromeos || is_bsd) && current_cpu == "x64" &&
enable_iterator_debugging) {
# Enable libstdc++ debugging facilities to help catch problems early, see
# http://crbug.com/65151 .
@@ -220,9 +220,7 @@ config("default_libs") {
]
} else if (is_linux || is_chromeos) {
libs = [
- "dl",
"pthread",
- "rt",
]
}
}
@@ -304,7 +302,7 @@ config("executable_config") {
"//build/config/ios:ios_dynamic_flags",
"//build/config/ios:ios_executable_flags",
]
- } else if (is_linux || is_chromeos || is_android || current_os == "aix") {
+ } else if (is_linux || is_bsd || is_chromeos || is_android || current_os == "aix") {
configs += [ "//build/config/gcc:executable_config" ]
if (is_chromecast) {
configs += [ "//build/config/chromecast:executable_config" ]