toolchain.eclass: obey user's USE=cxx option, bug #692126
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 17 Aug 2019 22:52:48 +0000 (23:52 +0100)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 17 Aug 2019 22:56:07 +0000 (23:56 +0100)
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 <slyfox@gentoo.org>
eclass/toolchain.eclass

index 40d46ed07075fc25363a21421eaa14a146926efe..d7f6f1993652fb818b56d79755de3d3043e9bc25 100644 (file)
@@ -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
 }