git: 67456a71c31d - main - devel/cargo-edit: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Oct 2024 15:06:18 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=67456a71c31d61a82244df1ecaf5e130b4004b49 commit 67456a71c31d61a82244df1ecaf5e130b4004b49 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:13 +0000 devel/cargo-edit: Fix build on i386 ... by adding sse2-related RUSTFLAGS. --- 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 \