$OpenBSD: patch-deps_v8_src_base_cpu_cc,v 1.2 2019/01/21 23:46:01 abieber Exp $

Index: deps/v8/src/base/cpu.cc
--- deps/v8/src/base/cpu.cc.orig
+++ deps/v8/src/base/cpu.cc
@@ -424,6 +424,8 @@ CPU::CPU()
 
 #if V8_OS_LINUX
 
+#ifdef V8_OS_LINUX
+
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -457,6 +459,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
