maintainer-approval requested: [Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed. : [Attachment 242879] [patch] explicitly use base cc (clang) - v1

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jun 2023 16:21:51 UTC
John Hein <jcfyecrayz@liamekaens.com> has asked freebsd-haskell (Nobody)
<haskell@FreeBSD.org> for maintainer-approval:
Bug 271928: lang/ghc: 'make configure' fails with bad --target argument if
lang/gcc is installed.
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271928

Attachment 242879: [patch] explicitly use base cc (clang) - v1
https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242879&action=edit



--- Comment #4 from John Hein <jcfyecrayz@liamekaens.com> ---
Created attachment 242879
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=242879&action=edit
[patch] explicitly use base cc (clang) - v1

v1: Same as v0 (specify CC=cc for pre-configure with default BOOT=off), but add
CC=cc for the configure called during pre-install as well.

This version is not needed to fix the build problem.  One may consider
selecting this version at least for consistency.  I did not do any extensive
run-time testing with either version yet.