git: dbb1d455208c - main - lang/numbat: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 12 Oct 2024 15:06:20 UTC
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=dbb1d455208c5e693670770a4641fa7b2154f832 commit dbb1d455208c5e693670770a4641fa7b2154f832 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:14 +0000 lang/numbat: Fix build on i386 ... by adding sse2-related RUSTFLAGS. --- lang/numbat/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lang/numbat/Makefile b/lang/numbat/Makefile index 05b47f21ceb8..7003378b5c31 100644 --- a/lang/numbat/Makefile +++ b/lang/numbat/Makefile @@ -18,6 +18,8 @@ USES= cargo USE_GITHUB= yes GH_ACCOUNT= sharkdp +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= aho-corasick-1.1.3 \ anes-0.1.6 \ anstream-0.6.14 \