Update lang/v8 to version 9.9.115.10
[dports.git] / lang / v8 / files / patch-build_config_BUILD.gn
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" ]
6      }
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") {
13      ]
14    } else if (is_linux || is_chromeos) {
15      libs = [
16 -      "dl",
17        "pthread",
18 -      "rt",
19      ]
20    }
21  }
22 @@ -305,7 +303,7 @@ config("executable_config") {
23        "//build/config/ios:ios_dynamic_flags",
24        "//build/config/ios:ios_executable_flags",
25      ]
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" ]
29      if (is_chromecast) {
30        configs += [ "//build/config/chromecast:executable_config" ]