aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-03 01:22:45 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-03 01:23:27 +0000
commit4f959faa88e3563bac7594b961ad8125190db044 (patch)
tree1ab2186c124016353ae6902446c0a01954293245
parent8e3af277083aebd08b1b328719fec6719fa93015 (diff)
downloadports-4f959faa88e3563bac7594b961ad8125190db044.tar.gz
ports-4f959faa88e3563bac7594b961ad8125190db044.zip
devel/git-cliff: Fix build on i386
Reported by: fallout (cherry picked from commit 26e7d36735eaeb95f4e1c2a6c7287eca112290f8)
-rw-r--r--devel/git-cliff/Makefile2
1 files changed, 2 insertions, 0 deletions
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 \