Fix build on i386. Compile with SSE2 on i386 (flags: -msse -msse2 -mfpmath=sse)
Build failure noticed by sthen@
This commit is contained in:
parent
53e962840c
commit
65feb25d85
@ -1,4 +1,4 @@
|
||||
# $OpenBSD: Makefile,v 1.15 2021/09/06 05:38:56 kevlo Exp $
|
||||
# $OpenBSD: Makefile,v 1.16 2021/09/11 09:44:46 kevlo Exp $
|
||||
|
||||
COMMENT = weighted finite-state transducers library
|
||||
|
||||
@ -49,4 +49,8 @@ CONFIGURE_ARGS = --enable-bin \
|
||||
--enable-pdt \
|
||||
--enable-special
|
||||
|
||||
.if ${MACHINE_ARCH} == "i386"
|
||||
CONFIGURE_ENV += CXXFLAGS="${CXXFLAGS} -msse -msse2 -mfpmath=sse"
|
||||
.endif
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user