Date: Tue, 7 Dec 2021 09:08:26 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: 7b6d73be47f4 - main - math/cado-nfs: Fix build on i386 Message-ID: <202112070908.1B798QSO016143@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=7b6d73be47f49ffb343c0f607c42355b099ff876 commit 7b6d73be47f49ffb343c0f607c42355b099ff876 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2021-12-07 09:08:00 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2021-12-07 09:08:00 +0000 math/cado-nfs: Fix build on i386 Reported by: fallout --- math/cado-nfs/Makefile | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/math/cado-nfs/Makefile b/math/cado-nfs/Makefile index 56e6d775224f..f4b2642a1811 100644 --- a/math/cado-nfs/Makefile +++ b/math/cado-nfs/Makefile @@ -40,4 +40,8 @@ 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>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202112070908.1B798QSO016143>