eclass/toolchain.eclass: do not die if uclibc patches are not available
authorAnthony G. Basile <blueness@gentoo.org>
Sat, 25 Nov 2017 13:47:41 +0000 (08:47 -0500)
committerAnthony G. Basile <blueness@gentoo.org>
Tue, 5 Dec 2017 13:03:49 +0000 (08:03 -0500)
gcc-6 and above no longer needs uclibc specific patches, so we don't die if
the patchset is not available.  We do, however, still apply it if UCLIBC_VER
is defined in the ebuild to future proof the code in case we need to reintroduce
the patchset in the future.

eclass/toolchain.eclass

index 503f7dbe94ff0e5b35a93d44739e1a3ddded5233..58d859dfaf32389cbd054f1f7ef6233847e14d5a 100644 (file)
@@ -378,9 +378,6 @@ toolchain_pkg_pretend() {
                        "in your make.conf if you want to use this version."
        fi
 
-       [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \
-               die "Sorry, this version does not support uClibc"
-
        if ! use_if_iuse cxx ; then
                use_if_iuse go && ewarn 'Go requires a C++ compiler, disabled due to USE="-cxx"'
                use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ compiler, disabled due to USE="-cxx"'