mirror of
https://git.freebsd.org/ports.git
synced 2025-06-07 22:00:31 -04:00
Tested for no-harm on amd64. PR: 225693 Submitted by: mikael.urankar Approved by: maintainer timeout (> 2 weeks)
16 lines
230 B
C
16 lines
230 B
C
--- cpuid_arm.c.orig 2016-09-01 03:58:42 UTC
|
|
+++ cpuid_arm.c
|
|
@@ -181,7 +181,12 @@ int detect(void)
|
|
}
|
|
|
|
}
|
|
-
|
|
+#else
|
|
+#if (__ARM_ARCH == 7)
|
|
+ return CPU_ARMV7;
|
|
+#else
|
|
+ return CPU_ARMV6;
|
|
+#endif
|
|
#endif
|
|
|
|
return CPU_UNKNOWN;
|