summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYuri Victorovich <yuri@FreeBSD.org>2024-07-09 02:18:54 -0700
committerYuri Victorovich <yuri@FreeBSD.org>2024-07-09 03:08:39 -0700
commit0c306f1cd9f811fb54dda52d2ae6ab7c3aa899b2 (patch)
treef8abd04827b0062e9eb410d60d8283310548fcb9
parentgraphics/mesa-devel: fix build on powerpc64* (diff)
ftp/unftp: Fix biuild on i386
Reported by: fallout
-rw-r--r--ftp/unftp/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/ftp/unftp/Makefile b/ftp/unftp/Makefile
index 97e6b4a321c0..0d1fd8612674 100644
--- a/ftp/unftp/Makefile
+++ b/ftp/unftp/Makefile
@@ -16,6 +16,8 @@ USE_GITHUB= yes
GH_ACCOUNT= bolcom
GH_PROJECT= unFTP
+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 \