Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:09:34 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: 176fe177754b - main - devel/git-workspace: Fix build on i386
Message-ID:  <202410310009.49V09YLQ086348@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=176fe177754bf8e71a7546dec46ec00ef25231fc

commit 176fe177754bf8e71a7546dec46ec00ef25231fc
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 21:34:22 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:09:30 +0000

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

diff --git a/devel/git-workspace/Makefile b/devel/git-workspace/Makefile
index 0d0672ed6f94..7af50a17764a 100644
--- a/devel/git-workspace/Makefile
+++ b/devel/git-workspace/Makefile
@@ -17,6 +17,8 @@ USES=		cargo localbase:ldflags
 USE_GITHUB=	yes
 GH_ACCOUNT=	orf
 
+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=	adler-1.0.2 \
 		aho-corasick-1.1.3 \
 		alloc-no-stdlib-2.0.4 \


home | help

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