Gentoo Archives: gentoo-commits

From: "Anthony G. Basile" <blueness@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: eclass/
Date: Tue, 05 Dec 2017 13:04:09
Message-Id: 1512479029.44e3e6469a7a0fd5673453617fffa9432b0d027f.blueness@gentoo
1 commit: 44e3e6469a7a0fd5673453617fffa9432b0d027f
2 Author: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
3 AuthorDate: Sat Nov 25 13:47:41 2017 +0000
4 Commit: Anthony G. Basile <blueness <AT> gentoo <DOT> org>
5 CommitDate: Tue Dec 5 13:03:49 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=44e3e646
7
8 eclass/toolchain.eclass: do not die if uclibc patches are not available
9
10 gcc-6 and above no longer needs uclibc specific patches, so we don't die if
11 the patchset is not available. We do, however, still apply it if UCLIBC_VER
12 is defined in the ebuild to future proof the code in case we need to reintroduce
13 the patchset in the future.
14
15 eclass/toolchain.eclass | 3 ---
16 1 file changed, 3 deletions(-)
17
18 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
19 index 503f7dbe94f..58d859dfaf3 100644
20 --- a/eclass/toolchain.eclass
21 +++ b/eclass/toolchain.eclass
22 @@ -378,9 +378,6 @@ toolchain_pkg_pretend() {
23 "in your make.conf if you want to use this version."
24 fi
25
26 - [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \
27 - die "Sorry, this version does not support uClibc"
28 -
29 if ! use_if_iuse cxx ; then
30 use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"'
31 use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"'