summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorMamoru Komachi <usata@gentoo.org>2004-01-23 07:27:07 +0000
committerMamoru Komachi <usata@gentoo.org>2004-01-23 07:27:07 +0000
commit28a735427cfc334c708fcdeb64295459df30fd78 (patch)
tree64cb6932bec0b49392d527825903adbdcf82e4d7 /eclass
parentbugfixes + support for stacked profiles (diff)
downloadhistorical-28a735427cfc334c708fcdeb64295459df30fd78.tar.gz
historical-28a735427cfc334c708fcdeb64295459df30fd78.tar.bz2
historical-28a735427cfc334c708fcdeb64295459df30fd78.zip
Accepts CC and CXX variables to support distcc & cross compilation
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ruby-gnome2.eclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/eclass/ruby-gnome2.eclass b/eclass/ruby-gnome2.eclass
index 188e00d95eee..35f5861d914d 100644
--- a/eclass/ruby-gnome2.eclass
+++ b/eclass/ruby-gnome2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-gnome2.eclass,v 1.5 2003/12/29 16:21:49 usata Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ruby-gnome2.eclass,v 1.6 2004/01/23 07:27:07 usata Exp $
#
# This eclass simplifies installation of the various pieces of
# ruby-gnome2 since they share a very common installation procedure.
@@ -38,7 +38,7 @@ fi
ruby-gnome2_src_compile() {
ruby extconf.rb || die "extconf.rb failed"
- emake || die "emake failed"
+ emake CC=${CC:-gcc} CXX=${CXX:-g++} || die "emake failed"
}
ruby-gnome2_src_install() {