On Jan 5, 2014, at 17:52, Lawrence Velázquez wrote:

> Trunk does add "-stdlib" automatically (and only for Clang, I think), but it 
> appends it to CXXFLAGS in configure's environment. I implemented 
> configure.cxx_stdlib this way to ensure that ports could not accidentally 
> trash the argument by setting configure.cxxflags, as they can currently do to 
> configure.optflags. The downside is that we need this boilerplate for ports 
> that don't read CXXFLAGS.
> 
> Another option might be to set a variable trace on configure.cxxflags to 
> ensure that it always contains "-stdlib…". I can look into this when I'm back 
> at my machine.

Or we could just consider it a bug for ports to override options like 
configure.cxxflags. Ports should append instead.

_______________________________________________
macports-dev mailing list
[email protected]
https://lists.macosforge.org/mailman/listinfo/macports-dev

Reply via email to