aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-26 01:24:38 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-26 01:24:38 +0000
commita67e716bdd79d56c081d69776c1d2c19e710a26d (patch)
treef00e63d55e4aea553088958a196e77ecca7fce87
parentd65a728b53a96d78f85ebf865e8098589f653be8 (diff)
downloadports-a67e716bdd79d56c081d69776c1d2c19e710a26d.tar.gz
ports-a67e716bdd79d56c081d69776c1d2c19e710a26d.zip
misc/quary: Fix build on i386
-rw-r--r--misc/quary/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/quary/Makefile b/misc/quary/Makefile
index 65cea657bd57..926e1f6285b3 100644
--- a/misc/quary/Makefile
+++ b/misc/quary/Makefile
@@ -15,6 +15,8 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= quarylabs
+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 \
ahash-0.7.8 \