Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:09:37 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: 6c63325b0ac4 - main - net/wstunnel: Fix build on i386
Message-ID:  <202410310009.49V09bjo086485@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=6c63325b0ac45a1c6518ef8662d658b9b7ecfc5b

commit 6c63325b0ac45a1c6518ef8662d658b9b7ecfc5b
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 23:16:27 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:09:31 +0000

    net/wstunnel: Fix build on i386
    
    Reported by:    fallout
---
 net/wstunnel/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/wstunnel/Makefile b/net/wstunnel/Makefile
index e704e2831cd4..3fa2462e0c25 100644
--- a/net/wstunnel/Makefile
+++ b/net/wstunnel/Makefile
@@ -15,6 +15,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	erebe
 
+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.24.2 \
 		adler2-2.0.0 \
 		ahash-0.8.11 \



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