profile/p/l-s/profile.bashrc: prefixify all the dynamic linkers.
authorBenda Xu <heroxbd@gentoo.org>
Thu, 21 Jul 2016 12:34:51 +0000 (21:34 +0900)
committerBenda Xu <heroxbd@gentoo.org>
Thu, 21 Jul 2016 13:23:01 +0000 (22:23 +0900)
  To be compatible with the macros in gcc-4.1.2.

profiles/prefix/linux-standalone/profile.bashrc

index ed3523782ecc7c86289b53e4334d5de37ed76260..73033dec4c4a29bb729f5fda23df86ce5aadf20c 100644 (file)
@@ -8,10 +8,10 @@
 
 if [[ ${CATEGORY}/${PN} == sys-devel/gcc && ${EBUILD_PHASE} == configure ]]; then
     cd "${S}"
-    einfo "Prefixifying glibc dynamic linker..."
+    einfo "Prefixifying dynamic linkers..."
     for h in gcc/config/*/linux*.h; do
        ebegin "  Updating $h"
-       sed -i -r "s,(GLIBC_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
+       sed -i -r "s,(_DYNAMIC_LINKER.*\")(/lib),\1${EPREFIX}\2," $h
        eend $?
     done