aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-26 01:32:04 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-26 01:32:04 +0000
commitf53c4a8088cec18bb8edf262140956f4529ad1b0 (patch)
tree544612d79e7a30a74d2ce464a4f1d428f5a90f0b
parenta67e716bdd79d56c081d69776c1d2c19e710a26d (diff)
downloadports-f53c4a8088cec18bb8edf262140956f4529ad1b0.tar.gz
ports-f53c4a8088cec18bb8edf262140956f4529ad1b0.zip
finance/ord: Fix build on i386
-rw-r--r--finance/ord/Makefile2
1 files changed, 2 insertions, 0 deletions
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 \