git: 3ef9df6fa282 - main - lang/ghc: Use correct LLVM toolchain for the bootstrap compiler.

From: Gleb Popov <arrowd_at_FreeBSD.org>
Date: Fri, 26 Aug 2022 19:02:30 UTC
The branch main has been updated by arrowd:

URL: https://cgit.FreeBSD.org/ports/commit/?id=3ef9df6fa282cf733d3b67b327af644cd02ba3ff

commit 3ef9df6fa282cf733d3b67b327af644cd02ba3ff
Author:     Gleb Popov <arrowd@FreeBSD.org>
AuthorDate: 2022-08-26 19:01:03 +0000
Commit:     Gleb Popov <arrowd@FreeBSD.org>
CommitDate: 2022-08-26 19:01:55 +0000

    lang/ghc: Use correct LLVM toolchain for the bootstrap compiler.
    
    PR:             264192
    Reported by:    Mark Millard <marklmi26-fbsd@yahoo.com>
---
 lang/ghc/Makefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lang/ghc/Makefile b/lang/ghc/Makefile
index 5939c5a318d7..a0ae512351da 100644
--- a/lang/ghc/Makefile
+++ b/lang/ghc/Makefile
@@ -40,7 +40,7 @@ GMP_DESC=		Use GNU Multi-precision Library from Ports
 PROFILE_DESC=		Add support for performance profiling
 
 BOOT_CONFIGURE_ENV=	GHC=${LOCALBASE}/bin/ghc
-BOOT_CONFIGURE_ENV_OFF=	GHC=${BOOT_GHC}
+BOOT_CONFIGURE_ENV_OFF=	GHC=${BOOT_GHC} LLC=llc${BOOT_LLVM_VERSION} OPT=opt${BOOT_LLVM_VERSION}
 
 DOCS_BUILD_DEPENDS=	sphinx-build:textproc/py-sphinx
 DOCS_VARS=		enable_docs=YES