mirror of
https://git.freebsd.org/ports.git
synced 2025-06-19 03:30:32 -04:00
- Make existing patches apply cleanly Changelog: https://chromium.googlesource.com/chromium/src/+log/72.0.3626.121..73.0.3683.86?pretty=fuller&n=10000 Submitted by: Matthias Wolf MFH: 2019Q2
30 lines
1.1 KiB
Text
30 lines
1.1 KiB
Text
--- build/config/BUILD.gn.orig 2019-03-11 22:00:52 UTC
|
|
+++ build/config/BUILD.gn
|
|
@@ -162,7 +162,7 @@ config("debug") {
|
|
# builds, and we have to tell it to turn it off.
|
|
defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
|
|
}
|
|
- } else if (is_linux && current_cpu == "x64" && enable_iterator_debugging) {
|
|
+ } else if ((is_linux || is_bsd) && current_cpu == "x64" && enable_iterator_debugging) {
|
|
# Enable libstdc++ debugging facilities to help catch problems early, see
|
|
# http://crbug.com/65151 .
|
|
# TODO(phajdan.jr): Should we enable this for all of POSIX?
|
|
@@ -263,9 +263,7 @@ config("default_libs") {
|
|
]
|
|
} else if (is_linux) {
|
|
libs = [
|
|
- "dl",
|
|
"pthread",
|
|
- "rt",
|
|
]
|
|
}
|
|
}
|
|
@@ -342,7 +340,7 @@ config("executable_config") {
|
|
"//build/config/ios:ios_dynamic_flags",
|
|
"//build/config/ios:ios_executable_flags",
|
|
]
|
|
- } else if (is_linux || is_android || current_os == "aix") {
|
|
+ } else if (is_linux || is_bsd || is_android || current_os == "aix") {
|
|
configs += [ "//build/config/gcc:executable_config" ]
|
|
if (is_chromecast) {
|
|
configs += [ "//build/config/chromecast:executable_config" ]
|