qt5 build dependency on clang

Ken Cunningham ken.cunningham.webuse at gmail.com
Sat Apr 22 21:05:30 UTC 2017


On 2017-04-22, at 1:55 PM, db wrote:

> On 22 Apr 2017, at 21:58, Ryan Schmidt <ryandesign at macports.org> wrote:
>> Sounds plausible. What's your question / problem with this?
> 
> Ken already point me to cxx11-1.1.tcl, but I still don't get why 4.0 isn't whitelisted in a system whose default is set to 3.9.
> 

because cxx_stdlib will equal libc++ and therefore this test (which would lead to the code that does the whitelisting) will fail.

if {${cxx_stdlib} eq "libstdc++" }


it's not the fact that the default compiler has been set that results in 4.0 not being whitelisted -- it's that fact that on that machine where you set clang-3.9 to be the default compiler,  you also have set cxx_stdlb to libc++

If that still seems confusing, follow through the cxx11 1.1 code -- and there is one more point to know -- by default, without you having to specifically set it, on a stock 10.8 machine, cxx_stdlib is set to libstdc++ by macports.


K
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macports.org/pipermail/macports-users/attachments/20170422/fdeaee08/attachment.html>


More information about the macports-users mailing list