Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 11 Feb 2024 11:49:46 GMT
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: f48c93e96832 - main - lang/gluon: fix build on i386
Message-ID:  <202402111149.41BBnk7s085366@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by pkubaj:

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

commit f48c93e96832fdba64a161d4c6736befac8945a6
Author:     Piotr Kubaj <pkubaj@FreeBSD.org>
AuthorDate: 2024-02-09 01:27:14 +0000
Commit:     Piotr Kubaj <pkubaj@FreeBSD.org>
CommitDate: 2024-02-11 11:48:47 +0000

    lang/gluon: fix build on i386
---
 lang/gluon/Makefile | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/lang/gluon/Makefile b/lang/gluon/Makefile
index dcf67dfa8196..8a1866251bc3 100644
--- a/lang/gluon/Makefile
+++ b/lang/gluon/Makefile
@@ -12,7 +12,6 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/../LICENSE
 
 BROKEN_armv7=	compilation fails: (1) error[E0412]: cannot find type `AtomicU128` in module `core::sync::atomic` (2) LLVM ERROR: out of memory
-BROKEN_i386=	compilation fails: LLVM ERROR: out of memory
 
 USES=		cargo
 
@@ -391,6 +390,12 @@ OPENSSLLIB=	/usr/lib
 
 PLIST_FILES=	bin/${PORTNAME}
 
+.include <bsd.port.options.mk>
+
+.if ${ARCH} == i386
+LTO_UNSAFE=	yes
+.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?202402111149.41BBnk7s085366>