aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-18 18:34:59 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-18 18:34:59 +0000
commite5213b9887e691fd04697e684ff4191be0bfa4c9 (patch)
tree3d1e778936fc6a004ccb341eb0bb9be8e11b77cc
parentf720ea7f0c95e7277428424506445f4a1c9d21dd (diff)
devel/py-qcs-sdk-python: Fix build on i386
Reported by: fallout
-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 ffe66864555a..8facb0828201 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.3 \