git: 82e58272089b - main - devel/spr: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 13 Oct 2024 02:22:33 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=82e58272089b1a9ff7ab4693aa37d017ee2dcdcc commit 82e58272089b1a9ff7ab4693aa37d017ee2dcdcc Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-10-13 02:19:51 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-10-13 02:22:29 +0000 devel/spr: Fix build on i386 ... by adding sse2-enabling RUSTFLAGS. Reported by: fallout --- devel/spr/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/devel/spr/Makefile b/devel/spr/Makefile index d95faf95987e..cb00f5e57e9e 100644 --- a/devel/spr/Makefile +++ b/devel/spr/Makefile @@ -19,6 +19,8 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= getcord +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 \