Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 9 Jul 2024 10:08:44 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 0c306f1cd9f8 - main - ftp/unftp: Fix biuild on i386
Message-ID:  <202407091008.469A8i53006467@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=0c306f1cd9f811fb54dda52d2ae6ab7c3aa899b2

commit 0c306f1cd9f811fb54dda52d2ae6ab7c3aa899b2
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-07-09 09:18:54 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-07-09 10:08:39 +0000

    ftp/unftp: Fix biuild on i386
    
    Reported by:    fallout
---
 ftp/unftp/Makefile | 2 ++
 1 file changed, 2 insertions(+)

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 \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202407091008.469A8i53006467>