toolchain.eclass: drop support for deprecated mingw-runtime
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 19 Oct 2019 19:53:16 +0000 (20:53 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 19 Oct 2019 21:20:34 +0000 (22:20 +0100)
Bug: https://bugs.gentoo.org/584858
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
eclass/toolchain.eclass

index aec5ba4314c8484f7e0918f6214b5463587c4e5b..fe8944833a97ff7d70fc80be379e402ac3c505f8 100644 (file)
@@ -1014,7 +1014,7 @@ toolchain_src_configure() {
                # disable a bunch of features or gcc goes boom
                local needed_libc=""
                case ${CTARGET} in
-               *-linux)                 needed_libc=no-fucking-clue;;
+               *-linux)                 needed_libc=error-unknown-libc;;
                *-dietlibc)              needed_libc=dietlibc;;
                *-elf|*-eabi)
                        needed_libc=newlib
@@ -1042,7 +1042,6 @@ toolchain_src_configure() {
                *-cygwin)                needed_libc=cygwin;;
                x86_64-*-mingw*|\
                *-w64-mingw*)    needed_libc=mingw64-runtime;;
-               mingw*|*-mingw*) needed_libc=mingw-runtime;;
                avr)                     confgcc+=( --enable-shared --disable-threads );;
                esac
                if [[ -n ${needed_libc} ]] ; then