summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-05-23 23:06:55 +0000
committerMike Frysinger <vapier@gentoo.org>2009-05-23 23:06:55 +0000
commita41d57df8c69d37f5366c337cf46c3545dae00b5 (patch)
tree884167c1dc0c386aeaf3ff21a163a3d25db996bf /eclass/toolchain-binutils.eclass
parentAdd pkg_setup checks to workaround bug #270953. (diff)
downloadgentoo-2-a41d57df8c69d37f5366c337cf46c3545dae00b5.tar.gz
gentoo-2-a41d57df8c69d37f5366c337cf46c3545dae00b5.tar.bz2
gentoo-2-a41d57df8c69d37f5366c337cf46c3545dae00b5.zip
do not strip -fno-omit-frame-pointer #270497 by Mart Raudsepp
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r--eclass/toolchain-binutils.eclass13
1 files changed, 11 insertions, 2 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass
index 9e2bb5d24e1f..695af713e438 100644
--- a/eclass/toolchain-binutils.eclass
+++ b/eclass/toolchain-binutils.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.81 2009/05/10 01:41:33 halcy0n Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.82 2009/05/23 23:06:55 vapier Exp $
#
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
#
@@ -68,7 +68,16 @@ add_src_uri() {
}
add_src_uri binutils-${PV}-patches-${PATCHVER}.tar.bz2 ${PATCHVER}
add_src_uri binutils-${PV}-uclibc-patches-${UCLIBC_PATCHVER}.tar.bz2 ${UCLIBC_PATCHVER}
-add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER}
+
+case ${ELF2FLT_VER} in
+ cvs:*)
+ inherit cvs
+ ;;
+ git:*)
+ inherit git
+ ;;
+ *) add_src_uri elf2flt-${ELF2FLT_VER}.tar.bz2 ${ELF2FLT_VER};;
+esac
if version_is_at_least 2.18 ; then
LICENSE="|| ( GPL-3 LGPL-3 )"