git: 364471930d77 - main - lang/ghc: Disable Hadrian build on aarch64 too.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Sat, 13 May 2023 06:55:13 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=364471930d77ed3710402c4155a520f24470395a

commit 364471930d77ed3710402c4155a520f24470395a
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2023-05-13 06:54:12 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2023-05-13 06:55:09 +0000

    lang/ghc: Disable Hadrian build on aarch64 too.
    
    It builds successfully but for some reason only builds the vanilla way.
    
    Reported by:    pkg-fallout
---
 lang/ghc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index ed05ab3b02ad..5a41e5e1c4c9 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -104,7 +104,7 @@ BUILD_MK=		DYNAMIC_GHC_PROGRAMS=${ENABLE_DYNAMIC} \
 
 .include <bsd.port.pre.mk>
 
-.if ${GHC_VERSION:C/\..*//g} >= 9 && ${ARCH} != i386
+.if ${GHC_VERSION:C/\..*//g} >= 9 && ${ARCH} != i386 && ${ARCH} != aarch64
 # hadrian build on i386 fails due to https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=269570
 # relocation R_386_TLS_LE cannot be used with -shared
 USE_HADRIAN=		yes