summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSergei Trofimovich <slyfox@gentoo.org>2019-08-17 23:52:48 +0100
committerSergei Trofimovich <slyfox@gentoo.org>2019-08-17 23:56:07 +0100
commit908c4163cd990303aa7ffc2241f058eefffe91ff (patch)
tree7e7cba83b42977a4d23268a59476d11de487afd3
parentbase/package.use.force: force sys-devel/gcc[cxx] (diff)
downloadgentoo-908c4163cd990303aa7ffc2241f058eefffe91ff.tar.gz
gentoo-908c4163cd990303aa7ffc2241f058eefffe91ff.tar.bz2
gentoo-908c4163cd990303aa7ffc2241f058eefffe91ff.zip
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@gentoo.org>
-rw-r--r--eclass/toolchain.eclass1
1 files changed, 0 insertions, 1 deletions
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
}