mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-06 00:48:18 -07:00
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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user