diff options
author | Daniel Engberg <diizzy@FreeBSD.org> | 2021-09-24 21:01:38 +0000 |
---|---|---|
committer | Daniel Engberg <diizzy@FreeBSD.org> | 2021-09-24 21:10:15 +0000 |
commit | 6b077d7a7d1311e91865d94b195ae374db0464c1 (patch) | |
tree | 3cfb20810a9ffd774745b26e7401a2c81ce4a4da | |
parent | 0407bb07f88eba2cd8ecdd7d4f6fb8097b017aef (diff) |
graphics/jpeg-turbo: Disable SIMD instructions on ARMv6 platforms
libjpeg-turbo incorrectly assumes that SIMD instructions are
available on all ARM platforms
PR: 258685
Reported by: Martin Birgmeier
Approved by: antoine (portmgr / maintainer)
Differential Revision: https://reviews.freebsd.org/D32096
-rw-r--r-- | graphics/jpeg-turbo/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/graphics/jpeg-turbo/Makefile b/graphics/jpeg-turbo/Makefile index a763cb824ebf..14bbbc70378e 100644 --- a/graphics/jpeg-turbo/Makefile +++ b/graphics/jpeg-turbo/Makefile @@ -40,10 +40,14 @@ OPTIONS_DEFINE= DOCS BUILD_DEPENDS+= nasm:devel/nasm .endif +.if ${ARCH} == armv6 +CMAKE_OFF= WITH_SIMD +.endif + .if ${SLAVE_PORT} == yes PLIST_SUB+= JPEG="@comment " LIBTURBOJPEG="" .else -CMAKE_OFF= WITH_TURBOJPEG +CMAKE_OFF+= WITH_TURBOJPEG CONFLICTS_INSTALL= jpeg-[0-9]* PLIST_SUB+= JPEG="" LIBTURBOJPEG="@comment " .endif |