projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
901932c
)
toolchain-binutils.eclass: Don't use bundled zlib (bug #591516).
author
Lars Wendler
<polynomial-c@gentoo.org>
Mon, 17 Oct 2016 08:11:21 +0000
(10:11 +0200)
committer
Lars Wendler
<polynomial-c@gentoo.org>
Mon, 17 Oct 2016 09:04:32 +0000
(11:04 +0200)
eclass/toolchain-binutils.eclass
patch
|
blob
|
history
diff --git
a/eclass/toolchain-binutils.eclass
b/eclass/toolchain-binutils.eclass
index 46e972a87805b76a52c816f6d1ef93b8699429bb..2445a722b7be979c037b41f5965417c8deafa159 100644
(file)
--- a/
eclass/toolchain-binutils.eclass
+++ b/
eclass/toolchain-binutils.eclass
@@
-89,7
+89,7
@@
else
LICENSE="|| ( GPL-2 LGPL-2 )"
fi
IUSE="cxx multitarget nls static-libs test vanilla"
-if
version_is_at_least 2.19
; then
+if
! version_is_at_least 2.26
; then
IUSE+=" zlib"
fi
SLOT="${BVER}"
@@
-263,6
+263,8
@@
toolchain-binutils_src_configure() {
# older versions did not have an explicit configure flag
export ac_cv_search_zlibVersion=$(usex zlib -lz no)
myconf+=( $(use_with zlib) )
+ else
+ myconf+=( --with-system-zlib )
fi
# For bi-arch systems, enable a 64bit bfd. This matches