Subject: Re: [boost] Boost.Build check to see if cxxflags flag is supported?
From: Peter Dimov (lists_at_[hidden])
Date: 2018-11-08 18:30:16


> > Note 4:
> >
> > This should probably be a feature, like <position-independent>on, which
> > toolsets translate to -fPIC as appropriate.
>
> ... which will fix the case where a shared library uses a static library,
> but -fPIC is not applied to the static library.

Lively discussion of this issue (among other things) at
https://github.com/boostorg/serialization/pull/131.