[Buildroot] [PATCH v2] pacakge/qt5/qt5base: fix build with ccache
Thomas Petazzoni
thomas.petazzoni at free-electrons.com
Fri Aug 28 10:05:48 UTC 2015
Dear Benoît Thébaudeau,
On Fri, 28 Aug 2015 12:02:31 +0200, Benoît Thébaudeau wrote:
> > Then wouldn't it make more sense to use the last() function, to use the
> > last value rather than the first, and actual check the compiler rather
> > than ccache?
> >
> > compiler = $$last(QMAKE_CXX)$$sfx
>
> The last() function could be less portable because there might be some other use
> cases out there that we're not thinking about. On the contrary, we're certain
> that the first value has to be an executable.
Correct. It makes the test a bit useless though. But oh well that test
is not very useful in the first place. If upstream is happy with a
$$first() solution, I'm fine :)
Thanks!
Thomas
--
Thomas Petazzoni, CTO, Free Electrons
Embedded Linux, Kernel and Android engineering
http://free-electrons.com
More information about the buildroot
mailing list