git: 491d39b5aef0 - 2024Q4 - devel/git-repo-manager: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Wed, 30 Oct 2024 19:46:30 UTC
The branch 2024Q4 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=491d39b5aef08aa3dd4abaf01d54f197e85c3f09
commit 491d39b5aef08aa3dd4abaf01d54f197e85c3f09
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 19:42:04 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-30 19:46:28 +0000
devel/git-repo-manager: Fix build on i386
Reported by: fallout
(cherry picked from commit 635a8462183a76253346cc56cb48701e90ca808f)
---
devel/git-repo-manager/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/git-repo-manager/Makefile b/devel/git-repo-manager/Makefile
index 0f2106e56cc1..2562bfac27a5 100644
--- a/devel/git-repo-manager/Makefile
+++ b/devel/git-repo-manager/Makefile
@@ -18,6 +18,8 @@ USES= cargo localbase
USE_GITHUB= yes
GH_ACCOUNT= hakoerber
+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= adler2-2.0.0 \
aho-corasick-1.1.3 \
anstream-0.6.15 \