diff options
author | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-09 15:31:28 +0000 |
---|---|---|
committer | Piotr Kubaj <pkubaj@FreeBSD.org> | 2024-02-11 11:48:56 +0000 |
commit | 58d81ef213b811e52012d2b391a2c65227b20334 (patch) | |
tree | e0f5d21e0ee1ee8155da4a0df61495644058c6d6 | |
parent | 1b286170da8fb1e7d8d336fadd66100f721c7358 (diff) | |
download | ports-58d81ef213b811e52012d2b391a2c65227b20334.tar.gz ports-58d81ef213b811e52012d2b391a2c65227b20334.zip |
textproc/typst: disable LTO on powerpc to fix build
LLVM ERROR: out of memory
-rw-r--r-- | textproc/typst/Makefile | 6 |
1 files changed, 6 insertions, 0 deletions
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} |