git: e7d95acf0572 - 2022Q4 - textproc/hs-pandoc-crossref: Disable optimization on aarch64 to unbreak the build.
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sun, 02 Oct 2022 15:06:51 UTC
The branch 2022Q4 has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=e7d95acf0572c4efca157836bd64cec3d58753f5 commit e7d95acf0572c4efca157836bd64cec3d58753f5 Author: Gleb Popov <arrowd@FreeBSD.org> AuthorDate: 2022-10-02 14:51:13 +0000 Commit: Gleb Popov <arrowd@FreeBSD.org> CommitDate: 2022-10-02 15:06:45 +0000 textproc/hs-pandoc-crossref: Disable optimization on aarch64 to unbreak the build. Reported by: pkg-fallout (cherry picked from commit 3f032ebcedbb2aeed9a1ca893c7f2295a32d68c9) --- textproc/hs-pandoc-crossref/Makefile | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/textproc/hs-pandoc-crossref/Makefile b/textproc/hs-pandoc-crossref/Makefile index 068be9a7091e..c9939b97406f 100644 --- a/textproc/hs-pandoc-crossref/Makefile +++ b/textproc/hs-pandoc-crossref/Makefile @@ -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>