aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-03 01:18:18 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-03 01:19:03 +0000
commit8e3af277083aebd08b1b328719fec6719fa93015 (patch)
treebb8a5497a758116e5112683e7b649722b4e5f979
parent2f51c7f1cf64b06ecbd91cbfa249634e9921e2fb (diff)
downloadports-8e3af277083aebd08b1b328719fec6719fa93015.tar.gz
ports-8e3af277083aebd08b1b328719fec6719fa93015.zip
devel/cargo-leptos: Fix build on i386
Reported by: fallout (cherry picked from commit 7cd1b6f6d4ba6ec2c5dd2d5553665985116cfd53)
-rw-r--r--devel/cargo-leptos/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel/cargo-leptos/Makefile b/devel/cargo-leptos/Makefile
index bf4d05f5c548..cccc85d70371 100644
--- a/devel/cargo-leptos/Makefile
+++ b/devel/cargo-leptos/Makefile
@@ -15,7 +15,7 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= leptos-rs
-CARGO_FEATURES= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/sse sse2/} # add sse sse2 features only on i386
+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 \