git: 4f959faa88e3 - 2024Q2 - devel/git-cliff: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 03 May 2024 01:23:34 UTC
The branch 2024Q2 has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4f959faa88e3563bac7594b961ad8125190db044
commit 4f959faa88e3563bac7594b961ad8125190db044
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-03 01:22:45 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-03 01:23:27 +0000
devel/git-cliff: Fix build on i386
Reported by: fallout
(cherry picked from commit 26e7d36735eaeb95f4e1c2a6c7287eca112290f8)
---
devel/git-cliff/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/devel/git-cliff/Makefile b/devel/git-cliff/Makefile
index 06ab7add6fc4..0e813743f501 100644
--- a/devel/git-cliff/Makefile
+++ b/devel/git-cliff/Makefile
@@ -22,6 +22,8 @@ GH_ACCOUNT= orhun
WRKSRC_SUBDIR= git-cliff
CARGO_CARGOLOCK= ${WRKSRC}/../Cargo.lock
+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.21.0 \
adler-1.0.2 \
adler32-1.2.0 \