diff options
author | Yuri Victorovich <yuri@FreeBSD.org> | 2021-12-07 08:50:24 +0000 |
---|---|---|
committer | Yuri Victorovich <yuri@FreeBSD.org> | 2021-12-07 08:50:55 +0000 |
commit | dfb85148f96155ae4365dd6316d567dfb6cfedb4 (patch) | |
tree | 8ffa0b4fe8ee916f5632f5dc23d97bcf203a6803 | |
parent | 17f9824b832d439c1775d24177a8e0a44583fe01 (diff) |
devel/rkcommon: Fix build on i386
Reported by: fallout
-rw-r--r-- | devel/rkcommon/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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> |