[kde-freebsd] bsd.qt.mk vs bsd.gcc.mk: USE_GCC -> CXX -> QMAKESPEC
Mel Flynn
rflynn at acsalaska.net
Sat Jun 2 21:33:01 UTC 2012
On 2-6-2012 23:10, Alberto Villa wrote:
> On Sat, Jun 2, 2012 at 10:09 PM, Mel Flynn <rflynn at acsalaska.net> wrote:
>> I'm setting QMAKESPEC in my shell startup, because bsd.qt.mk hints that
>> when one wants to use ccache one should write their own spec and set
>> QMAKESPEC. So all the work USE_GCC is doing is in vain, unless it
>> overrides QMAKESPEC.
>
> Unless you redefine CC and CXX, you don't have to do this.
Yep, I do. I prefer it over mangling with PATH since setting NO_CCACHE
will have zero effect. It's also the way suggested by all FreeBSD guides
in the wiki relating to changing the default compiler.
The fact that qmake can't use the proper variables in the environment is
the root cause of the problem and this also applies to libtool but even
worse (requires recompilation).
I haven't checked this, but does qmake not support variables in the spec
files?
--
Mel
More information about the kde-freebsd
mailing list