$OpenBSD: patch-deps_v8_src_base_cpu_cc,v 1.3 2021/09/06 13:27:41 sthen Exp $

Index: deps/v8/src/base/cpu.cc
--- deps/v8/src/base/cpu.cc.orig
+++ deps/v8/src/base/cpu.cc
@@ -427,6 +427,8 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#ifdef V8_OS_LINUX
+
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -460,6 +462,8 @@ CPU::CPU()
     }
     delete[] part;
   }
+
+#endif // V8_OS_LINUX
 
   // Extract architecture from the "CPU Architecture" field.
   // The list is well-known, unlike the the output of
