git: 3f032ebcedbb - main - 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:05 UTC
The branch main has been updated by arrowd: URL: https://cgit.FreeBSD.org/ports/commit/?id=3f032ebcedbb2aeed9a1ca893c7f2295a32d68c9 commit 3f032ebcedbb2aeed9a1ca893c7f2295a32d68c9 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:05:55 +0000 textproc/hs-pandoc-crossref: Disable optimization on aarch64 to unbreak the build. Reported by: pkg-fallout --- 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>