Index: modcargo-crates/v8-0.74.3/v8/BUILD.gn
--- modcargo-crates/v8-0.74.3/v8/BUILD.gn.orig
+++ modcargo-crates/v8-0.74.3/v8/BUILD.gn
@@ -33,7 +33,7 @@ declare_args() {
 
   # Turns on all V8 debug features. Enables running V8 in a pseudo debug mode
   # within a release Chrome.
-  v8_enable_debugging_features = is_debug
+  v8_enable_debugging_features = false
 
   # Sets -DV8_ENABLE_FUTURE.
   v8_enable_future = false
@@ -1369,6 +1369,10 @@ config("toolchain") {
   } else if (target_os == "chromeos") {
     defines += [ "V8_HAVE_TARGET_OS" ]
     defines += [ "V8_TARGET_OS_CHROMEOS" ]
+  } else if (target_os == "openbsd") {
+    defines += [ "V8_HAVE_TARGET_OS" ]
+    defines += [ "V8_TARGET_OS_OPENBSD" ]
+    defines += [ "V8_TARGET_OS_BSD" ]
   }
 
   # TODO(infra): Support v8_enable_prof on Windows.
@@ -5920,7 +5924,7 @@ v8_component("v8_libbase") {
     }
   }
 
-  if (is_linux || is_chromeos) {
+  if ((is_linux || is_chromeos) && !is_bsd) {
     sources += [
       "src/base/debug/stack_trace_posix.cc",
       "src/base/platform/platform-linux.cc",
@@ -5931,6 +5935,12 @@ v8_component("v8_libbase") {
       "dl",
       "rt",
     ]
+  } else if (is_openbsd) {
+    sources += [
+      "src/base/debug/stack_trace_posix.cc",
+      "src/base/platform/platform-openbsd.cc",
+    ]
+    libs = [ "execinfo" ]
   } else if (current_os == "aix") {
     sources += [
       "src/base/debug/stack_trace_posix.cc",
