Date: Monday, December 5, 2022 @ 20:43:04
  Author: freswa
Revision: 463081

add --enable-new-dtags

This commit follows many other major distributions in using DT_RUNPATH over
DT_RPATH. If DT_RUNPATH is present, LD_LIBRARY_PATH is searched before
DT_RUNPATH (DT_RPATH would be searched before LD_LIBRARY_PATH). So injecting
malicious shared objects is way harder with DT_RUNPATH.

fixes FS#76274

Modified:
  binutils/trunk/PKGBUILD

----------+
 PKGBUILD |    1 +
 1 file changed, 1 insertion(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2022-12-05 17:52:45 UTC (rev 463080)
+++ PKGBUILD    2022-12-05 20:43:04 UTC (rev 463081)
@@ -59,6 +59,7 @@
     --enable-install-libiberty \
     --enable-jansson \
     --enable-ld=default \
+    --enable-new-dtags \
     --enable-pgo-build=lto \
     --enable-plugins \
     --enable-relro \

Reply via email to