aboutsummaryrefslogtreecommitdiff
path: root/misc/bedrust
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-05-10 06:20:52 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-05-10 06:47:54 +0000
commit500de062cae715904e9abeda624b30a002a6f47d (patch)
treeb2d7bfa76964d8fa902cb47d3ba460abb939820e /misc/bedrust
parent4aca578dd3c5af8ce23da096f2554bbcc6f9a482 (diff)
downloadports-500de062cae715904e9abeda624b30a002a6f47d.tar.gz
ports-500de062cae715904e9abeda624b30a002a6f47d.zip
misc/bedrust: Fix build on i386
Reported by: fallout
Diffstat (limited to 'misc/bedrust')
-rw-r--r--misc/bedrust/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/misc/bedrust/Makefile b/misc/bedrust/Makefile
index e9deab19dcf7..779113592273 100644
--- a/misc/bedrust/Makefile
+++ b/misc/bedrust/Makefile
@@ -15,6 +15,8 @@ USES= cargo
USE_GITHUB= yes
GH_ACCOUNT= darko-mesaros
+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 \
aligned-vec-0.5.0 \