Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:13:06 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: fa1e63d58d08 - 2024Q4 - net/quiche: Fix build on i386
Message-ID:  <202410310013.49V0D6rp002968@gitrepo.freebsd.org>

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

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

commit fa1e63d58d087a0d96a68f0563f643148a703703
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:12:58 +0000

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

diff --git a/net/quiche/Makefile b/net/quiche/Makefile
index bf965f32a70d..898279e3de62 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



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