1 --- build/config/BUILD.gn.orig 2022-01-23 11:59:03 UTC
2 +++ build/config/BUILD.gn
3 @@ -125,7 +125,7 @@ config("debug") {
4 # builds, and we have to tell it to turn it off.
5 defines += [ "_HAS_ITERATOR_DEBUGGING=0" ]
7 - } else if ((is_linux || is_chromeos) && current_cpu == "x64" &&
8 + } else if ((is_linux || is_chromeos || is_bsd) && current_cpu == "x64" &&
9 enable_iterator_debugging) {
10 # Enable libstdc++ debugging facilities to help catch problems early, see
11 # http://crbug.com/65151 .
12 @@ -224,9 +224,7 @@ config("default_libs") {
14 } else if (is_linux || is_chromeos) {
22 @@ -305,7 +303,7 @@ config("executable_config") {
23 "//build/config/ios:ios_dynamic_flags",
24 "//build/config/ios:ios_executable_flags",
26 - } else if (is_linux || is_chromeos || is_android || current_os == "aix") {
27 + } else if (is_linux || is_bsd || is_chromeos || is_android || current_os == "aix") {
28 configs += [ "//build/config/gcc:executable_config" ]
30 configs += [ "//build/config/chromecast:executable_config" ]