failed bsd.qt.mk fix...

Chris Rees crees at freebsd.org
Sun Jul 3 17:45:43 UTC 2011


On 3 July 2011 18:08, Alberto Villa <avilla at 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


More information about the freebsd-ports mailing list