commit: 6ef6412864b3a3401710c0a4fe99c19dc48f41be
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Thu Jul 21 12:34:51 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Thu Jul 21 13:23:01 2016 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6ef64128
profile/p/l-s/profile.bashrc: prefixify all the dynamic linkers.
To be compatible with the macros in gcc-4.1.2.
profiles/prefix/linux-standalone/profile.bashrc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/profiles/prefix/linux-standalone/profile.bashrc
b/profiles/prefix/linux-standalone/profile.bashrc
index ed35237..73033de 100644
--- a/profiles/prefix/linux-standalone/profile.bashrc
+++ b/profiles/prefix/linux-standalone/profile.bashrc
@@ -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