Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2021 08:50:57 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: dfb85148f961 - main - devel/rkcommon: Fix build on i386
Message-ID:  <202112070850.1B78ov2L096542@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=dfb85148f96155ae4365dd6316d567dfb6cfedb4

commit dfb85148f96155ae4365dd6316d567dfb6cfedb4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-07 08:50:24 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-07 08:50:55 +0000

    devel/rkcommon: Fix build on i386
    
    Reported by:    fallout
---
 devel/rkcommon/Makefile | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/devel/rkcommon/Makefile b/devel/rkcommon/Makefile
index 194ecbfba1e0..b52f1832a6a7 100644
--- a/devel/rkcommon/Makefile
+++ b/devel/rkcommon/Makefile
@@ -20,4 +20,10 @@ GH_ACCOUNT=	ospray
 CMAKE_OFF=	BUILD_TESTING
 CMAKE_TESTING_ON=	BUILD_TESTING
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == "i386"
+CXXFLAGS+=	-msse2 # workaround for error: '_mm_setcsr' needs target feature sse
+.endif
+
 .include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112070850.1B78ov2L096542>