Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 31 Oct 2024 00:09:35 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: de40c16749c0 - main - mail/pizauth: Fix build on i386
Message-ID:  <202410310009.49V09ZPH086390@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=de40c16749c0ed0832f26d3787128e2229857d87

commit de40c16749c0ed0832f26d3787128e2229857d87
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2024-10-30 21:37:16 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2024-10-31 00:09:30 +0000

    mail/pizauth: Fix build on i386
    
    Reported by:    fallout
    Approved by:    portmgr@ (blanket; unbreak)
---
 mail/pizauth/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/mail/pizauth/Makefile b/mail/pizauth/Makefile
index f09c7761f1bf..e6c46d3e2ed9 100644
--- a/mail/pizauth/Makefile
+++ b/mail/pizauth/Makefile
@@ -15,6 +15,8 @@ USE_GITHUB=	yes
 GH_ACCOUNT=	ltratt
 GH_TAGNAME=	${DISTNAME}
 
+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/pizauth \
 		share/man/man1/pizauth.1.gz \
 		share/man/man5/pizauth.conf.5.gz



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