Files
ports/lang/v8/files/patch-src_base_cpu.cc
T
2022-05-13 19:39:16 +08:00

19 lines
411 B
C++

--- src/base/cpu.cc.orig 2022-03-17 10:34:15 UTC
+++ src/base/cpu.cc
@@ -581,6 +581,7 @@ CPU::CPU()
#if V8_OS_LINUX
+#if V8_OS_LINUX
CPUInfo cpu_info;
// Extract implementor from the "CPU implementer" field.
@@ -614,6 +615,7 @@ CPU::CPU()
}
delete[] part;
}
+#endif
// Extract architecture from the "CPU Architecture" field.
// The list is well-known, unlike the the output of