Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:12:11 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: ac5b3786e811 - 2024Q4 - www/xh: Fix build on i386
Message-ID:  <202410310012.49V0CBCT002458@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=ac5b3786e811c8948c098aca33ca26ee42f4a11f

commit ac5b3786e811c8948c098aca33ca26ee42f4a11f
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 23:19:08 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:12:06 +0000

    www/xh: Fix build on i386
    
    Reported by:    fallout
    Approved by:    portmgr@ (blanket; unbreak)
    
    (cherry picked from commit 59d1b4b046ed58005db95bff123d0bd457f78a6e)
---
 www/xh/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/www/xh/Makefile b/www/xh/Makefile
index 03e30081adb6..39e7990bdcc6 100644
--- a/www/xh/Makefile
+++ b/www/xh/Makefile
@@ -17,6 +17,8 @@ USES=		cargo ssl
 USE_GITHUB=	yes
 GH_ACCOUNT=	ducaale
 
+RUSTFLAGS=	${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/-C target-feature=+sse,+sse2/} # add sse sse2 target-features only on i386
+
 PLIST_FILES=	bin/${PORTNAME}
 PORTDOCS=	CHANGELOG.md README.md
 



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