summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Hill <dirtyepic@gentoo.org>2013-12-30 03:24:04 +0000
committerRyan Hill <dirtyepic@gentoo.org>2013-12-30 03:24:04 +0000
commit420e27147a0cf5ef5d5b850a931e47a74ebc6605 (patch)
tree0938abff984cf09165f40060e9821cc33ca13a3a /eclass/toolchain.eclass
parentRemove old. (diff)
downloadgentoo-2-420e27147a0cf5ef5d5b850a931e47a74ebc6605.tar.gz
gentoo-2-420e27147a0cf5ef5d5b850a931e47a74ebc6605.tar.bz2
gentoo-2-420e27147a0cf5ef5d5b850a931e47a74ebc6605.zip
For 4.8+ C++ is always enabled. We should eventually drop the cxx USE flag,
but who knows what that would break.
Diffstat (limited to 'eclass/toolchain.eclass')
-rw-r--r--eclass/toolchain.eclass3
1 files changed, 2 insertions, 1 deletions
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 5411efb23e9d..bf01616cc92a 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.615 2013/12/28 09:12:39 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/toolchain.eclass,v 1.616 2013/12/30 03:24:04 dirtyepic Exp $
# Maintainer: Toolchain Ninjas <toolchain@gentoo.org>
@@ -1932,6 +1932,7 @@ is_ada() {
is_cxx() {
gcc-lang-supported 'c++' || return 1
+ tc_version_is_at_least 4.8 && return 0
use cxx
}