Simon McVittie <s...@debian.org> writes: > I investigated this for D-Bus (which builds a security-sensitive daemon, > dbus-daemon, and a library, libdbus). It turns out that libtool is > clever enough to replace -fPIE with -fPIC -DPIC when compiling objects > that will go in a shared library, and omit -pie when linking shared > libraries, so if your hybrid executable|library package uses libtool (as > D-Bus does), you *can* just add the PIE flags:
> https://bugs.freedesktop.org/show_bug.cgi?id=16621#c9 Oh, nice! Thank you! I never thought to try that. -- Russ Allbery (r...@debian.org) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to debian-devel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/87zkd53wha....@windlord.stanford.edu