summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2013-05-04 05:24:05 +0000
committerMike Frysinger <vapier@gentoo.org>2013-05-04 05:24:05 +0000
commita63132ca9e7245a980d41a993ccc7c01e4b527a7 (patch)
treed8012a8ef1f273ff07974e92ef9402dfe80eae61 /eclass
parentmake sure we save/restore chmod bits in case `patch` is broken and does not d... (diff)
downloadgentoo-2-a63132ca9e7245a980d41a993ccc7c01e4b527a7.tar.gz
gentoo-2-a63132ca9e7245a980d41a993ccc7c01e4b527a7.tar.bz2
gentoo-2-a63132ca9e7245a980d41a993ccc7c01e4b527a7.zip
apply fix from upstream to use ${CHOST}-nm by default #462976 by Agostino Sarubbo
Diffstat (limited to 'eclass')
-rw-r--r--eclass/libtool.eclass8
1 files changed, 6 insertions, 2 deletions
diff --git a/eclass/libtool.eclass b/eclass/libtool.eclass
index a735de060285..afd767ddf80a 100644
--- a/eclass/libtool.eclass
+++ b/eclass/libtool.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2012 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.103 2013/05/04 05:23:31 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/libtool.eclass,v 1.104 2013/05/04 05:24:05 vapier Exp $
# @ECLASS: libtool.eclass
# @MAINTAINER:
@@ -136,7 +136,7 @@ elibtoolize() {
local deptoremove=
local do_shallow="no"
local force="false"
- local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed"
+ local elt_patches="install-sh ltmain portage relink max_cmd_len sed test tmp cross as-needed target-nm"
for x in "$@" ; do
case ${x} in
@@ -354,6 +354,10 @@ elibtoolize() {
ret=0
fi
;;
+ target-nm)
+ ELT_walk_patches "${d}/configure" "${p}"
+ ret=$?
+ ;;
install-sh)
ELT_walk_patches "${d}/install-sh" "${p}"
ret=$?