summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMichael Sterrett <mr_bones_@gentoo.org>2009-01-21 19:03:53 +0000
committerMichael Sterrett <mr_bones_@gentoo.org>2009-01-21 19:03:53 +0000
commit240ffc80385f7883b5802f3487c704ea2aefde1f (patch)
tree3195a1f227f3e30fa842fa297af6db7defb96f97 /eclass
parentsys-cluster/mpich-1.0.8 bugfixes, no revbump. Fix some doc file locations (#... (diff)
downloadgentoo-2-240ffc80385f7883b5802f3487c704ea2aefde1f.tar.gz
gentoo-2-240ffc80385f7883b5802f3487c704ea2aefde1f.tar.bz2
gentoo-2-240ffc80385f7883b5802f3487c704ea2aefde1f.zip
just always export CC and CXX from toolchain so we don't have to manually do it in a bunch of places.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/games.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/games.eclass b/eclass/games.eclass
index 268c93ff8167..435c6876b367 100644
--- a/eclass/games.eclass
+++ b/eclass/games.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.130 2009/01/05 01:24:52 mr_bones_ Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/games.eclass,v 1.131 2009/01/21 19:03:53 mr_bones_ Exp $
# devlist: {vapier,wolf31o2,mr_bones_}@gentoo.org -> games@gentoo.org
#
@@ -8,7 +8,7 @@
# you better have a *good* reason why you're *not* using games.eclass
# in a games-* ebuild
-inherit base multilib eutils
+inherit base multilib toolchain-funcs eutils
case ${EAPI:-0} in
0|1) EXPORT_FUNCTIONS pkg_setup src_compile pkg_preinst pkg_postinst ;;
@@ -113,6 +113,7 @@ gamesenv() {
}
games_pkg_setup() {
+ tc-export CC CXX
[[ ${GAMES_CHECK_LICENSE} == "yes" ]] && check_license ${LICENSE}
# Make sure SDL was built in a certain way