diff options
author | 2014-06-07 05:08:19 +0000 | |
---|---|---|
committer | 2014-06-07 05:08:19 +0000 | |
commit | 02b15be0e87a8fd69f2e46263e7cf32c7dbbeda9 (patch) | |
tree | a376df1770906be503c128c60acf2aa98f1ea1b8 /eclass/toolchain-binutils.eclass | |
parent | EAPI=5; build with --as-needed (bug #510458) (diff) | |
download | gentoo-2-02b15be0e87a8fd69f2e46263e7cf32c7dbbeda9.tar.gz gentoo-2-02b15be0e87a8fd69f2e46263e7cf32c7dbbeda9.tar.bz2 gentoo-2-02b15be0e87a8fd69f2e46263e7cf32c7dbbeda9.zip |
start setting --with-pkgversion details in our builds so --version output looks good
Diffstat (limited to 'eclass/toolchain-binutils.eclass')
-rw-r--r-- | eclass/toolchain-binutils.eclass | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/eclass/toolchain-binutils.eclass b/eclass/toolchain-binutils.eclass index c7a333eb5c5d..fb9330eb110c 100644 --- a/eclass/toolchain-binutils.eclass +++ b/eclass/toolchain-binutils.eclass @@ -1,6 +1,6 @@ # Copyright 1999-2013 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.132 2014/06/06 19:33:22 vapier Exp $ +# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain-binutils.eclass,v 1.133 2014/06/07 05:08:19 vapier Exp $ # # Maintainer: Toolchain Ninjas <toolchain@gentoo.org> # @@ -281,6 +281,8 @@ toolchain-binutils_src_configure() { has_version ">=${CATEGORY}/glibc-2.5" && myconf+=( --enable-secureplt ) has_version ">=sys-libs/glibc-2.5" && myconf+=( --enable-secureplt ) + local pkgver="Gentoo ${BVER}" + [[ -n ${PATCHVER} ]] && pkgver+=" p${PATCHVER}" myconf+=( --prefix="${EPREFIX}"/usr --host=${CHOST} @@ -299,6 +301,7 @@ toolchain-binutils_src_configure() { --enable-install-libiberty --disable-werror --with-bugurl=http://bugs.gentoo.org/ + --with-pkgversion="${pkgver}" $(use_enable static-libs static) ${EXTRA_ECONF} # Disable modules that are in a combined binutils/gdb tree. #490566 |