[Buildroot] Qt tribulations take 2

Thomas Petazzoni thomas.petazzoni at free-electrons.com
Sun Jul 15 10:38:54 UTC 2012


Le Sun, 15 Jul 2012 12:33:09 +0200,
Arnout Vandecappelle <arnout at mind.be> a écrit :

>   We could define MAKE as env -i $(MAKE), but there are some environment
> variables that are passed to sub-makes that you loose this way.  Maybe
> better is to define SHELL as env -i sh, but that could have huge side
> effects...

Hm, ok.

>   But maybe we shouldn't exaggerate here.  Putting a QMAKESPEC in your
> environment would make any qt build fail, so it's not really a
> buildroot problem.  Maybe a better idea is to put in the documentation
> that the safe way is to use 'env -i make' to start a build...

Well, there are already many other environment variables that may break
the build and that we are either checking in
support/dependencies/dependencies.sh, or unsetting in main Makefile.
Shouldn't we do the same for QMAKESPEC?

Thomas
-- 
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com


More information about the buildroot mailing list