git: 0b0fc74c665c - 2024Q4 - devel/git-workspace: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 31 Oct 2024 00:13:04 UTC
The branch 2024Q4 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=0b0fc74c665c146c472aa72ff35dc72c8b7bbe34
commit 0b0fc74c665c146c472aa72ff35dc72c8b7bbe34
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 21:34:22 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:12:57 +0000
devel/git-workspace: Fix build on i386
Reported by: fallout
(cherry picked from commit 176fe177754bf8e71a7546dec46ec00ef25231fc)
---
devel/git-workspace/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/git-workspace/Makefile b/devel/git-workspace/Makefile
index ddebe7dbef69..4706b0e4c844 100644
--- a/devel/git-workspace/Makefile
+++ b/devel/git-workspace/Makefile
@@ -17,6 +17,8 @@ USES= cargo localbase:ldflags
USE_GITHUB= yes
GH_ACCOUNT= orf
+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= adler-1.0.2 \
aho-corasick-1.1.3 \
alloc-no-stdlib-2.0.4 \