From: Sergei Trofimovich Date: Sat, 17 Aug 2019 22:52:48 +0000 (+0100) Subject: toolchain.eclass: obey user's USE=cxx option, bug #692126 X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=908c4163cd990303aa7ffc2241f058eefffe91ff;p=gentoo.git toolchain.eclass: obey user's USE=cxx option, bug #692126 USE=cxx presence on typical systems is maintained by profiles/base/package.use.force entry. Let's drop silent override from the eclass. Reported-by: Agostino Sarubbo Bug: https://bugs.gentoo.org/692126 Signed-off-by: Sergei Trofimovich --- diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass index 40d46ed07075..d7f6f1993652 100644 --- a/eclass/toolchain.eclass +++ b/eclass/toolchain.eclass @@ -2373,7 +2373,6 @@ is_ada() { is_cxx() { gcc-lang-supported 'c++' || return 1 - ! is_crosscompile && tc_version_is_at_least 4.8 && return 0 use_if_iuse cxx }