Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 May 2024 01:25:33 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: abba588b7f67 - main - net/narrowlink: Fix build on i386
Message-ID:  <202405030125.4431PXB8099258@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=abba588b7f67cebfe44961dd482071870b907eb2

commit abba588b7f67cebfe44961dd482071870b907eb2
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:04 +0000

    net/narrowlink: Fix build on i386
    
    PR:             fallout
---
 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.4431PXB8099258>