$OpenBSD: patch-deps_v8_src_base_cpu_cc,v 1.1 2018/02/10 14:50:35 abieber Exp $

Index: deps/v8/src/base/cpu.cc
--- deps/v8/src/base/cpu.cc.orig
+++ deps/v8/src/base/cpu.cc
@@ -607,6 +607,8 @@ CPU::CPU()
 
 #elif V8_HOST_ARCH_ARM64
 
+#ifdef V8_OS_LINUX
+
   CPUInfo cpu_info;
 
   // Extract implementor from the "CPU implementer" field.
@@ -640,6 +642,8 @@ CPU::CPU()
     }
     delete[] part;
   }
+
+#endif // V8_OS_LINUX
 
 #elif V8_HOST_ARCH_PPC
 
