Simon McVittie <[email protected]> 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 ([email protected]) <http://www.eyrie.org/~eagle/> -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected] Archive: http://lists.debian.org/[email protected]

