compiler.whitelist and compiler installation side-effects

René J.V. Bertin rjvbertin at
Wed Sep 23 13:49:46 PDT 2015

On Wednesday September 23 2015 15:35:38 Ryan Schmidt wrote:
> That sounds like a busted build system which should be fixed.

It's only partly the fault of the build system; the rest is an interplay between compiler limitations and code requirements.

> Sounds like the Qt build system sucks, and should ideally be fixed to obey the CC and CXX environment variables, like other proper build systems do. I know, Qt is an enormous project and I wouldn't want to dive into their build system to fix this either.

Yep. I have a hunch though they did things this way to have ... reproducible builds. On the systems that they support officially. They also have to cope with the fact that Xcode can be installed anywhere, and not all users have the commandline tools in their path (I presume).
But, I did take that dive and patch a number of places (but still have to go in *after* the configure step and install properly configured versions of files that would otherwise be created by qmake, with the wrong compiler info).

And there's no way I'm going to try to get that accepted "upstreams" (they're no longer called Trolltech, nor Borgtech though that would be appropriate :)).


More information about the macports-dev mailing list