aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-06-18 07:02:17 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-06-18 09:25:03 +0000
commitab6160b7d2c16ae5c5d73548633021c460da3adf (patch)
treef9a5a35e44866dd53426d1492f91835ae85b1643
parent9e696b76859e2d33f9830a7621ad4361f326af15 (diff)
downloadports-ab6160b7d2c16ae5c5d73548633021c460da3adf.tar.gz
ports-ab6160b7d2c16ae5c5d73548633021c460da3adf.zip
security/diswall: Fix build on i386
-rw-r--r--security/diswall/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/security/diswall/Makefile b/security/diswall/Makefile
index 783cc0329ece..a85480427b1b 100644
--- a/security/diswall/Makefile
+++ b/security/diswall/Makefile
@@ -18,6 +18,8 @@ USE_GITHUB= yes
GH_ACCOUNT= dis-works
GH_PROJECT= diswall-rs
+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= adler-1.0.2 \
ahash-0.8.11 \
aho-corasick-1.1.3 \