Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2024 01:19:08 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: 8e3af277083a - 2024Q2 - devel/cargo-leptos: Fix build on i386
Message-ID:  <202405030119.4431J8Q2082202@gitrepo.freebsd.org>

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

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

commit 8e3af277083aebd08b1b328719fec6719fa93015
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-03 01:18:18 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-03 01:19:03 +0000

    devel/cargo-leptos: Fix build on i386
    
    Reported by:    fallout
    
    (cherry picked from commit 7cd1b6f6d4ba6ec2c5dd2d5553665985116cfd53)
---
 devel/cargo-leptos/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/devel/cargo-leptos/Makefile b/devel/cargo-leptos/Makefile
index bf4d05f5c548..cccc85d70371 100644
--- a/devel/cargo-leptos/Makefile
+++ b/devel/cargo-leptos/Makefile
@@ -15,7 +15,7 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	leptos-rs
 
-CARGO_FEATURES=	${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/sse sse2/} # add sse sse2 features only on i386
+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 \



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