Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2024 01:25:51 GMT
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org
Subject:   git: a8ad8c925831 - 2024Q2 - net/narrowlink: Fix build on i386
Message-ID:  <202405030125.4431PpeP099448@gitrepo.freebsd.org>

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

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

commit a8ad8c9258312501eb14eac17efecb99c542de51
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-03 01:25:04 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-03 01:25:44 +0000

    net/narrowlink: Fix build on i386
    
    PR:             fallout
    (cherry picked from commit abba588b7f67cebfe44961dd482071870b907eb2)
---
 net/narrowlink/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/narrowlink/Makefile b/net/narrowlink/Makefile
index d2e538b094c5..67b23a8eb8e9 100644
--- a/net/narrowlink/Makefile
+++ b/net/narrowlink/Makefile
@@ -16,6 +16,8 @@ USES=		cargo
 USE_RC_SUBR=	narrowlink-agent narrowlink-gateway
 USE_GITHUB=	yes
 
+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 \
 		aead-0.5.2 \



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