Mercurial > gub
changeset 5184:0ac6fd373cd6
Remove more duplicate libiberty.a files generated by binutils and gcc
This fix completes a previous similar fix in commit
fdfe393e51f670b97afe945bb920bd5b525e129d
author | John Mandereau <john.mandereau@gmail.com> |
---|---|
date | Wed, 18 Feb 2009 10:54:10 +0100 |
parents | 37020426b5df |
children | 76c2fa309653 |
files | gub/specs/cross/binutils.py gub/specs/darwin/cross/binutils.py |
diffstat | 2 files changed, 8 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/gub/specs/cross/binutils.py Wed Feb 18 09:21:39 2009 +0100 +++ b/gub/specs/cross/binutils.py Wed Feb 18 10:54:10 2009 +0100 @@ -44,6 +44,8 @@ ''' self.system ('rm %(install_prefix)s%(cross_dir)s/lib/libiberty.a', ignore_errors=True) + self.system ('rm %(install_prefix)s%(cross_dir)s/lib64/libiberty.a', + ignore_errors=True) class Binutils__linux__ppc (Binutils): patches = Binutils.patches + ['binutils-2.18-werror-ppc.patch']
--- a/gub/specs/darwin/cross/binutils.py Wed Feb 18 09:21:39 2009 +0100 +++ b/gub/specs/darwin/cross/binutils.py Wed Feb 18 10:54:10 2009 +0100 @@ -13,4 +13,10 @@ # return (binutils.Binutils._get_build_dependencies (self) # + ['odcctools']) def install (self): + ''' + On some systems [Fedora9], libiberty.a is provided by binutils + *and* by gcc; see gub/specs/binutils.py for more details. + ''' cross.AutoBuild.install (self) + self.system ('rm %(install_prefix)s%(cross_dir)s/lib64/libiberty.a', + ignore_errors=True)