Many tools are using this static library all over the place. And some using the 'libiberty' in their shared libraries ('latrace' for example) which fails at link time because the 'binutils' pacakge provides a non-PIC variant of this library only. This change is a hack to force 'libiberty' to be compiled as a PIC object to be able to link it against shared libraries as well.
Signed-off-by: Juergen Borleis <j...@pengutronix.de> --- rules/binutils.make | 2 ++ 1 file changed, 2 insertions(+) diff --git a/rules/binutils.make b/rules/binutils.make index 3b91435..63d5fa9 100644 --- a/rules/binutils.make +++ b/rules/binutils.make @@ -45,6 +45,8 @@ BINUTILS_AUTOCONF := \ --enable-install-libiberty \ --disable-multilib \ --disable-werror +BINUTILS_MAKE_ENV := \ + PTXCONF_TARGET_HARDEN_PIE=y # ---------------------------------------------------------------------------- # Target-Install -- 2.10.2 _______________________________________________ ptxdist mailing list ptxdist@pengutronix.de