Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2024 02:35:42 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: c3264a28260b - main - devel/fnm: Fix build on i386
Message-ID:  <202406050235.4552ZguV032239@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=c3264a28260b8654a57399b431de20389c967e5f

commit c3264a28260b8654a57399b431de20389c967e5f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-05 02:33:41 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-05 02:33:41 +0000

    devel/fnm: Fix build on i386
    
    Reported by:    fallout
---
 devel/fnm/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/devel/fnm/Makefile b/devel/fnm/Makefile
index e356acb672a7..cd1c41da5c03 100644
--- a/devel/fnm/Makefile
+++ b/devel/fnm/Makefile
@@ -19,6 +19,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	Schniz
 
+RUSTFLAGS=	${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
 CARGO_CRATES=	addr2line-0.22.0 \
 		adler-1.0.2 \
 		aes-0.8.4 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202406050235.4552ZguV032239>