lagrange: disable SSE4.1 support

The check for SSE4.1 support is only done at build time, so the runtime was
leading to SIGILL on machines with old amd64 processors where this instruction
set is not implemented. This issue most likely hit i386 as well.

tweak and OK sthen@, OK solene@ (maintainer)
This commit is contained in:
cwen 2021-01-07 22:29:58 +00:00
parent fa3355ffc2
commit 1bae776547

View File

@ -1,7 +1,8 @@
# $OpenBSD: Makefile,v 1.6 2021/01/03 10:48:58 solene Exp $
# $OpenBSD: Makefile,v 1.7 2021/01/07 22:29:58 cwen Exp $
COMMENT = SDL multi protocol navigator
VERSION = 1.0.2
REVISION = 0
DISTNAME = lagrange-${VERSION}
@ -32,6 +33,9 @@ LIB_DEPENDS = audio/mpg123 \
devel/pcre \
devel/sdl2
# Don't enable SSE4.1, it fails at runtime on old amd64 machines and i386
CONFIGURE_ARGS += -DTFDN_ENABLE_SSE41=No
NO_TEST = Yes
.include <bsd.port.mk>