Date: Sun, 11 Feb 2024 11:49:56 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: 58d81ef213b8 - main - textproc/typst: disable LTO on powerpc to fix build Message-ID: <202402111149.41BBnukQ085809@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=58d81ef213b811e52012d2b391a2c65227b20334 commit 58d81ef213b811e52012d2b391a2c65227b20334 Author: Piotr Kubaj <pkubaj@FreeBSD.org> AuthorDate: 2024-02-09 15:31:28 +0000 Commit: Piotr Kubaj <pkubaj@FreeBSD.org> CommitDate: 2024-02-11 11:48:56 +0000 textproc/typst: disable LTO on powerpc to fix build LLVM ERROR: out of memory --- textproc/typst/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/textproc/typst/Makefile b/textproc/typst/Makefile index 95fe9bf8dd4c..68695510bb49 100644 --- a/textproc/typst/Makefile +++ b/textproc/typst/Makefile @@ -16,6 +16,12 @@ USE_GITHUB= yes PLIST_FILES= bin/${PORTNAME} +.include <bsd.port.options.mk> + +.if ${ARCH} == powerpc +LTO_UNSAFE= yes +.endif + do-install: ${INSTALL_PROGRAM} ${WRKDIR}/target/*/release/${PORTNAME} ${STAGEDIR}${PREFIX}/bin/${PORTNAME} ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${PORTNAME}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202402111149.41BBnukQ085809>