tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: pkgsrc frozen for 2017Q2



* On 2017-07-07 at 02:51 BST, Jason Bacon wrote:

> All sounds good, with one correction:
> 
> pkgsrc *does* set -std=c++11 for packages with USE_LANGUAGES=c++ if a
> dependent package contains USE_LANGUAGES=c++11.
> 
> This inheritance of compiler flags by dependencies is the behavior I was
> questioning.

Not always, only if we add it to the buildlink3.mk file.  The reason
for doing this is that some packages are now installing headers which
use C++11 features, and so packages which use them as a dependency
also require -std=c++11 otherwise they fail to build.

-- 
Jonathan Perkin  -  Joyent, Inc.  -  www.joyent.com


Home | Main Index | Thread Index | Old Index