git: 00954f44fcb3 - main - textproc/hs-pandoc: Disable optimizations for aarch64.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Mon, 19 Sep 2022 07:58:07 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=00954f44fcb3bbc89a9d208f2666d394a24dd3b2

commit 00954f44fcb3bbc89a9d208f2666d394a24dd3b2
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-09-19 06:45:58 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-09-19 07:58:02 +0000

    textproc/hs-pandoc: Disable optimizations for aarch64.
    
    The same time the port is failing on aarch64 on the cluster for unknown
    reason. Disable optimizations to see if that helps.
---
 textproc/hs-pandoc/Makefile | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/textproc/hs-pandoc/Makefile b/textproc/hs-pandoc/Makefile
index da40287d97d1..506249b8682a 100644
--- a/textproc/hs-pandoc/Makefile
+++ b/textproc/hs-pandoc/Makefile
@@ -228,9 +228,9 @@ OPTIONS_SUB=	yes
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == i386
+.if ${ARCH} == i386 || ${ARCH} == aarch64
 # compiler goes out of memory
-BUILD_ARGS+=	--disable-optimization
+BUILD_ARGS+=   --disable-optimization
 .endif
 
 post-install-EMBED_DATA-off: