[Bug 271928] lang/ghc: 'make configure' fails with bad --target argument if lang/gcc is installed.

From: <bugzilla-noreply_at_freebsd.org>
Date: Mon, 19 Jun 2023 14:56:09 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271928

--- Comment #2 from John Hein <jcfyecrayz@liamekaens.com> ---
Adding 'CC=cc' to the configure command in pre-configure seems to do the job.

I did not have to add CC=cc to the later configure (in pre-install) to get the
build to succeed.  The pre-install configure DOES still detect gcc ("checking
for gcc... gcc"), but I don't know if that will affect anything at run time. 
It couldn't hurt to add CC=cc to that configure command as well - I just don't
know yet if that is necessary.

I will also sign up to upstream gitlab, and try to report this.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.