Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 1 May 2024 04:33:19 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: 7157b625f8d5 - 2024Q2 - www/trunk: Fix build on i386
Message-ID:  <202405010433.4414XJp5042458@gitrepo.freebsd.org>

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

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

commit 7157b625f8d526a1292f1c1c9c14fb3782d89ed6
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-05-01 04:30:07 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-05-01 04:33:14 +0000

    www/trunk: Fix build on i386
    
    Reported by:    fallout
    
    (cherry picked from commit c4e4f5c14bb2d796c953c37bcb8aff8360037705)
---
 www/trunk/Makefile | 8 +-------
 1 file changed, 1 insertion(+), 7 deletions(-)

diff --git a/www/trunk/Makefile b/www/trunk/Makefile
index 7a0bcd8c973a..1eaa9170fe25 100644
--- a/www/trunk/Makefile
+++ b/www/trunk/Makefile
@@ -20,7 +20,7 @@ USES=		cargo
 USE_GITHUB=	yes
 GH_ACCOUNT=	thedodd
 
-CARGO_FEATURES=	${ARCH:S/i386/YES/:C/^[a-z].*//:S/YES/sse sse2/} # add sse sse2 features only on i386
+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 \
@@ -465,12 +465,6 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
-#.include <bsd.port.pre.mk>
-
-#.if ${ARCH} == amd64
-#CARGO_FEATURES=	${ARCH:S/i386/sse sse2/}
-#.endif
-
 post-install:
 	@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
 



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