Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 12 Jun 2024 06:20:21 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: 88d45896a62e - main - devel/cargo-spellcheck: Fix build on i386
Message-ID:  <202406120620.45C6KL4q094372@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=88d45896a62e7279caa731607c24a450147c455c

commit 88d45896a62e7279caa731607c24a450147c455c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-06-12 04:49:14 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-06-12 06:20:14 +0000

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

diff --git a/devel/cargo-spellcheck/Makefile b/devel/cargo-spellcheck/Makefile
index cfc49b8348ec..68a18fff53b7 100644
--- a/devel/cargo-spellcheck/Makefile
+++ b/devel/cargo-spellcheck/Makefile
@@ -19,6 +19,8 @@ USES=		cargo llvm
 USE_GITHUB=	yes
 GH_ACCOUNT=	drahnr
 
+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.21.0 \
 		adler-1.0.2 \
 		aho-corasick-0.7.20 \



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