Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 5 Jun 2024 10:33:30 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: 27897756fad8 - main - devel/cargo-about: Fix build on i386
Message-ID:  <202406051033.455AXUlK044898@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=27897756fad84940e53fc17a795cd41885c7cca4

commit 27897756fad84940e53fc17a795cd41885c7cca4
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-05 09:04:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-05 10:33:26 +0000

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

diff --git a/devel/cargo-about/Makefile b/devel/cargo-about/Makefile
index 39d743ec9d21..d21e068fe7ae 100644
--- a/devel/cargo-about/Makefile
+++ b/devel/cargo-about/Makefile
@@ -18,6 +18,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	EmbarkStudios
 
+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 \
 		aho-corasick-1.1.3 \



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