summaryrefslogtreecommitdiff
path: root/www/deno/files/patch-build_config_BUILD.gn
blob: d0ebaba2bf840ed07e13b3ff066d91aa83de5ff9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
--- cargo-crates/v8-135.1.0/build/config/BUILD.gn.orig	2024-07-30 11:12:21 UTC
+++ cargo-crates/v8-135.1.0/build/config/BUILD.gn
@@ -123,7 +123,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_bsd || is_chromeos) && current_cpu == "x64" &&
              enable_iterator_debugging) {
     # Enable libstdc++ debugging facilities to help catch problems early, see
     # http://crbug.com/65151 .
@@ -217,9 +217,7 @@ config("default_libs") {
     libs = []
   } else if (is_linux || is_chromeos) {
     libs = [
-      "dl",
       "pthread",
-      "rt",
     ]
   }
 }