git: f53c4a8088ce - main - finance/ord: Fix build on i386
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 26 May 2024 01:34:33 UTC
The branch main has been updated by yuri:
URL: https://cgit.FreeBSD.org/ports/commit/?id=f53c4a8088cec18bb8edf262140956f4529ad1b0
commit f53c4a8088cec18bb8edf262140956f4529ad1b0
Author: Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-26 01:32:04 +0000
Commit: Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-26 01:32:04 +0000
finance/ord: Fix build on i386
---
finance/ord/Makefile | 2 ++
1 file changed, 2 insertions(+)
diff --git a/finance/ord/Makefile b/finance/ord/Makefile
index 3950e1980026..6b6b87253371 100644
--- a/finance/ord/Makefile
+++ b/finance/ord/Makefile
@@ -14,6 +14,8 @@ USES= cargo ssl
USE_GITHUB= yes
GH_ACCOUNT= ordinals
+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 \