git: 4d3a4dd188ad - main - devel/rkcommon: Simplify CXXFLAGS

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Tue, 07 Dec 2021 17:17:49 UTC
The branch main has been updated by yuri:

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

commit 4d3a4dd188ad75c903719c3abdefab17a661c74b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2021-12-07 17:17:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2021-12-07 17:17:22 +0000

    devel/rkcommon: Simplify CXXFLAGS
---
 devel/rkcommon/Makefile | 7 +------
 1 file changed, 1 insertion(+), 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>