git: 0b0d1882c12b - 2024Q2 - devel/py-qcs-sdk-python: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 18 May 2024 18:35:42 UTC
The branch 2024Q2 has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=0b0d1882c12b47edffec6cc022caa9394925c26b commit 0b0d1882c12b47edffec6cc022caa9394925c26b Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2024-05-08 15:03:28 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2024-05-08 15:03:28 +0000 devel/py-qcs-sdk-python: Fix build on i386 Reported by: fallout (cherry picked from commit e5213b9887e691fd04697e684ff4191be0bfa4c9) --- devel/py-qcs-sdk-python/Makefile | 2 ++ 1 file changed, 2 insertions(+) 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 \