mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
multimedia/libvpx: assume NEON on armv7
This commit is contained in:
parent
3366163855
commit
ad55310097
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=486565
@ -38,7 +38,6 @@ ALL_TARGET= # empty
|
||||
|
||||
OPTIONS_DEFINE= DEBUG MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT TEST THREADS
|
||||
OPTIONS_DEFAULT=MULTIRES POSTPROC RTCPU SHARED SIZE_LIMIT THREADS
|
||||
OPTIONS_EXCLUDE_aarch64=RTCPU
|
||||
OPTIONS_EXCLUDE_powerpcspe=RTCPU
|
||||
OPTIONS_SUB= yes
|
||||
|
||||
|
@ -1,5 +1,14 @@
|
||||
--- vpx_ports/arm_cpudetect.c.orig 2017-01-12 20:27:27 UTC
|
||||
+++ vpx_ports/arm_cpudetect.c
|
||||
@@ -38,7 +38,7 @@ static int arm_cpu_env_mask(void) {
|
||||
return env && *env ? (int)strtol(env, NULL, 0) : ~0;
|
||||
}
|
||||
|
||||
-#if !CONFIG_RUNTIME_CPU_DETECT
|
||||
+#if !CONFIG_RUNTIME_CPU_DETECT || defined(__ARM_NEON)
|
||||
|
||||
int arm_cpu_caps(void) {
|
||||
/* This function should actually be a no-op. There is no way to adjust any of
|
||||
@@ -147,7 +147,57 @@ int arm_cpu_caps(void) {
|
||||
}
|
||||
return flags & mask;
|
||||
|
Loading…
Reference in New Issue
Block a user