audio/zynaddsubfx: fix build on non-x86

Disable SSE everywhere but on amd64 and i386.

PR:		241247
Approved by:	hselasky (maintainer)
This commit is contained in:
Piotr Kubaj 2020-06-28 10:29:47 +00:00
parent 80a2f241d2
commit 13b284ca31
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=540699

View File

@ -86,6 +86,8 @@ CMAKE_ARGS+= -DZYN_EXAMPLESDIR:STRING=${EXAMPLESDIR}
.if ${ARCH} == "i386" || ${ARCH} == "amd64"
CFLAGS+= -DASM_F2I_YES
.else
CMAKE_ARGS+= -DSUPPORT_SSE:BOOL=OFF
.endif
post-patch: