Skip to content

Commit 58dd53f

Browse files
committed
graphics/png: exclude SIMD from armv{6,7} in QEMU_EMULATING
The current version added an assert for ARM NEON detection, which is not supported under QEMU_EMULATING, so the build fails. Prevent exposing the SIMD option in this case. Approved by: tcberner (mentor) Differential Revision: https://reviews.freebsd.org/D37212
1 parent 8df5897 commit 58dd53f

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

‎graphics/png/Makefile‎

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,11 @@ OPTIONS_DEFAULT=APNG
2727
OPTIONS_DEFAULT_aarch64= SIMD
2828
OPTIONS_DEFAULT_amd64= SIMD
2929
OPTIONS_DEFAULT_powerpc64le= SIMD
30+
# arm/arm_init.c:43:6: error: "No support for run-time ARM Neon checking; use compile-time options"
31+
.ifdef QEMU_EMULATING
32+
OPTIONS_EXCLUDE_armv6= SIMD
33+
OPTIONS_EXCLUDE_armv7= SIMD
34+
.endif
3035

3136
APNG_DESC=Enable Animated PNG support
3237

0 commit comments

Comments
 (0)