profile/p/l-s/profile.bashrc: prefixify all the dynamic linkers.

To be compatible with the macros in gcc-4.1.2.
This commit is contained in:
Benda Xu
2016-07-21 21:34:51 +09:00
parent d9e1a2d4a9
commit 6ef6412864

View 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