On 13 October 2017 at 12:46, Thomas Huth <th...@redhat.com> wrote:
> I disagree. If the next OpenBSD release uses Clang by default, we're not
> building QEMU there with the *working default* C compiler anymore.
> You're then rather forcing the OpenBSD users then to install an
> additional (likely unliked, since GPLv3) GCC package on their systems.
>
> So IMHO, just drop this patch and wait for the next OpenBSD release, and
> the problem will be solved automatically. (and the few users who still
> use an older release of OpenBSD will likely use the QEMU from their
> ports system anyway)

Another possible approach would be to have a configure test
for whatever feature it is that we need in our compiler,
and then run through a list that starts with "cc" and
goes on to try "egcc" etc until it finds one that works.
That way we'll automatically DTRT when OpenBSD upgrades
their "cc" to a working one.

thanks
-- PMM

Reply via email to