commit:     908c4163cd990303aa7ffc2241f058eefffe91ff
Author:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 17 22:52:48 2019 +0000
Commit:     Sergei Trofimovich <slyfox <AT> gentoo <DOT> org>
CommitDate: Sat Aug 17 22:56:07 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=908c4163

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 <slyfox <AT> gentoo.org>

 eclass/toolchain.eclass | 1 -
 1 file changed, 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 40d46ed0707..d7f6f199365 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
 }
 

Reply via email to