Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:09:36 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: 4669670ee182 - main - net/quiche: Fix build on i386
Message-ID:  <202410310009.49V09aW2086435@gitrepo.freebsd.org>

index | next in thread | raw e-mail

The branch main has been updated by yuri:

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

commit 4669670ee182042a24c53e43a3207f2bd119601c
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 21:39:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:09:31 +0000

    net/quiche: Fix build on i386
    
    Reported by:    fallout
    Approved by:    portmgr@ (blanket; unbreak)
---
 net/quiche/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net/quiche/Makefile b/net/quiche/Makefile
index de76e373ab66..ef33f44bc87d 100644
--- a/net/quiche/Makefile
+++ b/net/quiche/Makefile
@@ -16,6 +16,8 @@ GH_ACCOUNT=	cloudflare
 GH_TUPLE=	google:boringssl:f1c75347d:boringssl/quiche/deps/boringssl
 USE_LDCONFIG=	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_FEATURES=		ffi pkg-config-meta
 CARGO_BUILD=		yes
 CARGO_BUILD_ARGS+=	--workspace


home | help

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