aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-08 15:03:28 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-08 15:03:28 +0000
commit0b0d1882c12b47edffec6cc022caa9394925c26b (patch)
treecd67f13923fed2dba44436a0700ad0012c043064
parent3771a38447210d329fa42cf2ea33fadf0d593e00 (diff)
devel/py-qcs-sdk-python: Fix build on i386
Reported by: fallout (cherry picked from commit e5213b9887e691fd04697e684ff4191be0bfa4c9)
-rw-r--r--devel/py-qcs-sdk-python/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/devel/py-qcs-sdk-python/Makefile b/devel/py-qcs-sdk-python/Makefile
index b8b8ea785f0a..b8853d5cd6d2 100644
--- a/devel/py-qcs-sdk-python/Makefile
+++ b/devel/py-qcs-sdk-python/Makefile
@@ -24,6 +24,8 @@ USE_GITHUB= yes
GH_ACCOUNT= rigetti
GH_PROJECT= qcs-sdk-rust
+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 \
aho-corasick-1.1.2 \