Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 06:09:10 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: 6350ef8e05fd - 2024Q4 - devel/cargo-edit: Fix build on i386
Message-ID:  <202411100609.4AA69A3s029567@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=6350ef8e05fd64e8fe04ad18ab700032363ca2aa

commit 6350ef8e05fd64e8fe04ad18ab700032363ca2aa
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 06:08:25 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 06:08:25 +0000

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

diff --git a/devel/cargo-edit/Makefile b/devel/cargo-edit/Makefile
index be7f12348d63..03d6e6028869 100644
--- a/devel/cargo-edit/Makefile
+++ b/devel/cargo-edit/Makefile
@@ -17,6 +17,8 @@ USES=		cargo localbase:ldflags ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	killercup
 
+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.24.1 \
 		adler2-2.0.0 \
 		aho-corasick-1.1.3 \



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