Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Nov 2024 21:42:42 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: 38b305e80f68 - main - sysutils/conserve: Fix build on i386
Message-ID:  <202411022142.4A2LggjX074242@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=38b305e80f68339bb11a3dfb10792e4c4716d446

commit 38b305e80f68339bb11a3dfb10792e4c4716d446
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-02 21:41:43 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-02 21:41:43 +0000

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

diff --git a/sysutils/conserve/Makefile b/sysutils/conserve/Makefile
index 4311ac957b66..b8120b70f8ae 100644
--- a/sysutils/conserve/Makefile
+++ b/sysutils/conserve/Makefile
@@ -16,6 +16,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	sourcefrog
 
+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 \
 		ahash-0.8.11 \



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