diff options
author | 2016-06-28 14:31:29 +0000 | |
---|---|---|
committer | 2016-06-28 13:47:02 -0400 | |
commit | c288da02f7fc90f969d06a4dbd50b22cfa782d6d (patch) | |
tree | 90322d31dd706064adfc3dd017e291b789e73dd6 /eclass | |
parent | eclass/toolchain-binutils.eclass: copy from tree (diff) | |
download | ppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.tar.gz ppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.tar.bz2 ppc64le-c288da02f7fc90f969d06a4dbd50b22cfa782d6d.zip |
sys-devel/binutils: add ld BE emulations for ppc64le target #580614
Signed-off-by: Leno Hou <lenohou@gmail.com>
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index 34c8569..17eb5dc 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -180,6 +180,16 @@ tc-binutils_apply_patches() { eend $? done fi + + # fix emulations issues if possible #580614 + if [[ -e ${FILESDIR}/binutils-configure-target.patch ]] ; then + einfo "Fixing emulations issues in configure target files" + ebegin " Updating ld/configure.tgt" + patch "ld/configure.tgt" "${FILESDIR}"/binutils-configure-target.patch >& "${T}"/configure-target-patch.log \ + || eerror "Please file a bug about this" + eend $? + fi + # fix conflicts with newer glibc #272594 if [[ -e libiberty/testsuite/test-demangle.c ]] ; then sed -i 's:\<getline\>:get_line:g' libiberty/testsuite/test-demangle.c |