Hi Peter,

That would force PIC code on static libraries, it seems. It might not be the best idea, since position independent code needs a few indirections, and therefore will be a tad slower. It's not a big deal for desktop systems, but might become a problem on less powerful hardware.


On Thu, Aug 25, 2016, 15:36 Peter Steinbach <steinbach@scionics.de> wrote:
Hi to all,

this dirty fix would make PIC work in static boost libs for gcc:

https://github.com/psteinb/build/tree/gcc_fPIC_to_static_libs

branched from boostorg/build:develop

tested with boost 1.59.0 and gcc/5.3.1. With your permission, I'd submit
a PR.

best,
Peter
_______________________________________________
Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost-build

--
Vladimir Prus
http://vladimirprus.com