summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBenda Xu <heroxbd@gentoo.org>2016-07-21 21:34:51 +0900
committerBenda Xu <heroxbd@gentoo.org>2016-07-21 22:23:01 +0900
commit6ef6412864b3a3401710c0a4fe99c19dc48f41be (patch)
treed8443e0b8846d36fec19604bd7e27c99a48933c2 /profiles
parentdev-libs/libfilezilla: Removed old. (diff)
downloadgentoo-6ef6412864b3a3401710c0a4fe99c19dc48f41be.tar.gz
gentoo-6ef6412864b3a3401710c0a4fe99c19dc48f41be.tar.bz2
gentoo-6ef6412864b3a3401710c0a4fe99c19dc48f41be.zip
profile/p/l-s/profile.bashrc: prefixify all the dynamic linkers.
To be compatible with the macros in gcc-4.1.2.
Diffstat (limited to 'profiles')
-rw-r--r--profiles/prefix/linux-standalone/profile.bashrc4
1 files changed, 2 insertions, 2 deletions
diff --git a/profiles/prefix/linux-standalone/profile.bashrc b/profiles/prefix/linux-standalone/profile.bashrc
index ed3523782ecc..73033dec4c4a 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