Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 12 Oct 2024 15:06:20 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: dbb1d455208c - main - lang/numbat: Fix build on i386
Message-ID:  <202410121506.49CF6K7o044709@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=dbb1d455208c5e693670770a4641fa7b2154f832

commit dbb1d455208c5e693670770a4641fa7b2154f832
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-11 15:19:11 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-12 15:06:14 +0000

    lang/numbat: Fix build on i386
    
    ... by adding sse2-related RUSTFLAGS.
---
 lang/numbat/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/lang/numbat/Makefile b/lang/numbat/Makefile
index 05b47f21ceb8..7003378b5c31 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?202410121506.49CF6K7o044709>