aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-12-07 17:17:22 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-12-07 17:17:22 +0000
commit4d3a4dd188ad75c903719c3abdefab17a661c74b (patch)
tree37fc0488871fe36499eca5a1153ab8b9ac29f66c
parent673174feef7ccb67b72b4bbff3fac77ba9afe0f2 (diff)
devel/rkcommon: Simplify CXXFLAGS
-rw-r--r--devel/rkcommon/Makefile7
1 files changed, 1 insertions, 6 deletions
diff --git a/devel/rkcommon/Makefile b/devel/rkcommon/Makefile
index b52f1832a6a7..1f10bae59a9e 100644
--- a/devel/rkcommon/Makefile
+++ b/devel/rkcommon/Makefile
@@ -18,12 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= ospray
CMAKE_OFF= BUILD_TESTING
+CXXFLAGS_i386= -msse2 # workaround for error: '_mm_setcsr' needs target feature sse
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>