[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 16:16:57 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=271928

John Hein <jcfyecrayz@liamekaens.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jcfyecrayz@liamekaens.com
 Attachment #242878|                            |maintainer-approval?(haskel
              Flags|                            |l@FreeBSD.org)

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

During pre-configure, explicitly specify base CC=cc - cc is clang now in all
supported major versions of FreeBSD (even powerpc these days I think, but I
have not confirmed that).

This works around whatever bootstrap issue is going on with gcc (possibly
FreeBSD specific, but not known at this time).

With this patch, poudriere now builds lang/ghc if lang/gcc is installed (tested
on 12-amd64/stable).

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