1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

textproc/hs-pandoc-crossref: Disable optimization on aarch64 to unbreak the build.

Reported by:	pkg-fallout
This commit is contained in:
Gleb Popov 2022-10-02 17:51:13 +03:00
parent f5c81b8f84
commit 3f032ebced

View File

@ -167,4 +167,11 @@ USE_CABAL= Glob-0.10.2_3 \
zip-archive-0.4.2.1 \
zlib-0.6.3.0
.include <bsd.port.mk>
.include <bsd.port.pre.mk>
.if ${ARCH} == aarch64
# compiler goes out of memory
BUILD_ARGS+= --disable-optimization
.endif
.include <bsd.port.post.mk>