Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Jul 2011 18:45:11 +0100
From:      Chris Rees <crees@freebsd.org>
To:        Alberto Villa <avilla@freebsd.org>
Cc:        ports@freebsd.org, Rene Ladan <rene@freebsd.org>, Oliver Pinter <oliver.pntr@gmail.com>
Subject:   Re: failed bsd.qt.mk fix...
Message-ID:  <CADLo839xoOfHLLaasqrd_kYaKYiTy0kj22cd3jnaPVYBPuhu1Q@mail.gmail.com>
In-Reply-To: <201107031908.31427.avilla@freebsd.org>
References:  <BANLkTikbaBVbLoU47YECC=hjN%2BaunoeURw@mail.gmail.com> <201107020136.03974.avilla@freebsd.org> <CADLo83-4sUmEbNNBuUBg3aNnWkf=-yrmNz1BMmCgjBTbmSKboQ@mail.gmail.com> <201107031908.31427.avilla@freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3 July 2011 18:08, Alberto Villa <avilla@freebsd.org> wrote:
> On Sunday 03 July 2011 15:25:09 Chris Rees wrote:
>> As I read it, while it supports a system where cc is a link to clang,
>> it still clobbers whatever ${CC} variable I have set.
>
> this is wrong. here is how the logic works:
> - find if cc is gcc or clang
> - if CXX is the default c++, then we're using the system compiler (gcc or
> clang)
> - otherwise, find what CXX refers to, and set it as the qt compiler (if and
> only if there is a qmakespec for this compiler, otherwise fall back to the
> system one)
>
> this works fine with cc linking to gcc, and CXX=clang++, and passed other
> tests using make -VQMAKESPEC CXX=something

Thanks.

Chris



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CADLo839xoOfHLLaasqrd_kYaKYiTy0kj22cd3jnaPVYBPuhu1Q>