Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2024 06:13:50 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: c08300647fa5 - 2024Q4 - multimedia/youtui: Fix build on i386
Message-ID:  <202411100613.4AA6DoJO046821@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=c08300647fa57081a5daeae49d135278ca5d4847

commit c08300647fa57081a5daeae49d135278ca5d4847
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-11-10 06:13:06 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-11-10 06:13:06 +0000

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

diff --git a/multimedia/youtui/Makefile b/multimedia/youtui/Makefile
index 55d7fa406815..73ea4f2d9fde 100644
--- a/multimedia/youtui/Makefile
+++ b/multimedia/youtui/Makefile
@@ -18,6 +18,8 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	nick42d
 
+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.22.0 \
 		adler-1.0.2 \
 		aes-0.8.4 \



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