aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-10-30 23:19:08 +0000
committerYuri Victorovich <yuri@FreeBSD.org>2024-10-31 00:09:31 +0000
commit59d1b4b046ed58005db95bff123d0bd457f78a6e (patch)
tree02b8432b8f89ac1159d62a658fe99c9aac301e29
parent6c63325b0ac45a1c6518ef8662d658b9b7ecfc5b (diff)
www/xh: Fix build on i386
Reported by: fallout Approved by: portmgr@ (blanket; unbreak)
-rw-r--r--www/xh/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/www/xh/Makefile b/www/xh/Makefile
index 03e30081adb6..39e7990bdcc6 100644
--- a/www/xh/Makefile
+++ b/www/xh/Makefile
@@ -17,6 +17,8 @@ USES= cargo ssl
USE_GITHUB= yes
GH_ACCOUNT= ducaale
+RUSTFLAGS= ${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
PLIST_FILES= bin/${PORTNAME}
PORTDOCS= CHANGELOG.md README.md