Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 06:07:40 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: c69f68f5ea69 - 2024Q4 - lang/numbat: Fix build on i386
Message-ID:  <202411100607.4AA67emR028983@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch 2024Q4 has been updated by yuri:

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

commit c69f68f5ea699ecf6b65a815fd4100bf2529fe8e
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 06:07:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 06:07:07 +0000

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

diff --git a/lang/numbat/Makefile b/lang/numbat/Makefile
index 9c2c3e854240..25ee005bbc78 100644
--- a/lang/numbat/Makefile
+++ b/lang/numbat/Makefile
@@ -18,6 +18,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	sharkdp
 
+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=	aho-corasick-1.1.3 \
 		anes-0.1.6 \
 		anstream-0.6.14 \



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