aboutsummaryrefslogtreecommitdiff
path: root/math/cado-nfs
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2021-12-07 17:15:56 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2021-12-07 17:15:56 +0000
commit673174feef7ccb67b72b4bbff3fac77ba9afe0f2 (patch)
treee9a414a9d5719fcc5fc215bea2774ae37c41d97e /math/cado-nfs
parente7da8e2956d689cfd78cb4a3e1a70d8bc49611fe (diff)
downloadports-673174feef7ccb67b72b4bbff3fac77ba9afe0f2.tar.gz
ports-673174feef7ccb67b72b4bbff3fac77ba9afe0f2.zip
math/cado-nfs: Simplify CXXFLAGS
Reported by: pkubaj
Diffstat (limited to 'math/cado-nfs')
-rw-r--r--math/cado-nfs/Makefile6
1 files changed, 2 insertions, 4 deletions
diff --git a/math/cado-nfs/Makefile b/math/cado-nfs/Makefile
index f4b2642a1811..f9cfc93e5460 100644
--- a/math/cado-nfs/Makefile
+++ b/math/cado-nfs/Makefile
@@ -28,6 +28,8 @@ GL_COMMIT= f4284e2391121b2bfb97bc4880b6273c7250dc2f
SHEBANG_GLOB= *.py
+CXXFLAGS_i386= -msse2 # workaround for error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'gf2x_mul4' that is compiled without support for 'sse2'
+
TEST_TARGET= check # 'test' does the same but is less verbose
BINARY_ALIAS= python3=${PYTHON_CMD} make=${GMAKE}
@@ -40,8 +42,4 @@ PLIST_SUB= LINGEN_PZ=""
PLIST_SUB= LINGEN_PZ="@comment "
.endif
-.if ${ARCH} == "i386"
-CXXFLAGS+= -msse2 # workaround for error: always_inline function '_mm_setzero_si128' requires target feature 'sse2', but would be inlined into function 'gf2x_mul4' that is compiled without support for 'sse2'
-.endif
-
.include <bsd.port.mk>