Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Dec 2021 11:44:20 +0100
From:      Piotr Kubaj <pkubaj@anongoth.pl>
To:        Yuri Victorovich <yuri@freebsd.org>
Cc:        ports-committers@freebsd.org, dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org
Subject:   Re: git: 7b6d73be47f4 - main - math/cado-nfs: Fix build on i386
Message-ID:  <Ya87BGHb0er%2BoYpY@KGPE-D16>
In-Reply-To: <202112070908.1B798QSO016143@gitrepo.freebsd.org>
References:  <202112070908.1B798QSO016143@gitrepo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--pU+mkZx1IRAMxryp
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Why not:
CXXFLAGS_i386=3D	-msse2

?

On 21-12-07 09:08:26, Yuri Victorovich wrote:
> The branch main has been updated by yuri:
>=20
> URL: https://cgit.FreeBSD.org/ports/commit/?id=3D7b6d73be47f49ffb343c0f60=
7c42355b099ff876
>=20
> 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
>=20
>     math/cado-nfs: Fix build on i386
>    =20
>     Reported by:    fallout
> ---
>  math/cado-nfs/Makefile | 4 ++++
>  1 file changed, 4 insertions(+)
>=20
> 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=3D	LINGEN_PZ=3D""
>  PLIST_SUB=3D	LINGEN_PZ=3D"@comment "
>  .endif
> =20
> +.if ${ARCH} =3D=3D "i386"
> +CXXFLAGS+=3D	-msse2 # workaround for error: always_inline function '_mm_=
setzero_si128' requires target feature 'sse2', but would be inlined into fu=
nction 'gf2x_mul4' that is compiled without support for 'sse2'
> +.endif
> +
>  .include <bsd.port.mk>

--pU+mkZx1IRAMxryp
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCgAdFiEEycyIeNkkgohzsoorelmbhSCDnJ0FAmGvOwQACgkQelmbhSCD
nJ0Hew/9HmY99HuD/pqFO2qaQzxhZzNdjRWP7JRnTXLq/WJaJHYmGtIGJNghrzuY
rxzTUkWrYQxepWXFBPyG/GN6qvbu3aXgzkS34GHi5E2zj1HYHfopGRG1YSOvItiI
Y1x78D7Vv0rguZ+TTp7RKYHZfnaA/8sPDyU6JdXCBZqJ4Lzs2PIwI/RRl/jODqNd
yLCSaZ0jSoTgp5/YCuas1kFiLfoYl03WxJEfchfEDCuZiuDGn0lKMt/ASJ3dmv9S
AlQU75soT9N5aYWygX7RDrqaROIaxzSulKQ3cBUB8YlBbtNMfUvfg9sSo7b/eIRg
B2hbSM7phIIFF8FEPDgKRyhOUZi2SaSUGQ5rFHKq56/j6CY3kDr4NFEfjkb3S2gt
GZuTOMdrcYokEAX/7MdAwv4lV/m+S6+9xGYm4lSslGdKQQqjToQvsxTmvMwa+If3
dAjvjNYZUhGJxUuX8BwxrLdeAsFzxmHLValhAbxuLmwb67FYAXX4klT4Vi9daGRb
BFAJ2SQxcsfBJ+HNf/iGgL+EJYpo33JxZVvx90FMOrBLW7rMuCkoGlnIKIhiQq/x
vCa7qO6WklgQEy4leibwH2q30mz9T0pdR4hGDd6K4ylru/nIpNKBSLRLwhkEnIez
P8LNKrdjxb6hmSx5NdECnrR2MapVXUKTVOoNpdY94cfGrat3rz4=
=bDgv
-----END PGP SIGNATURE-----

--pU+mkZx1IRAMxryp--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Ya87BGHb0er%2BoYpY>