diff options
author | Mamoru Komachi <usata@gentoo.org> | 2004-01-23 07:27:07 +0000 |
---|---|---|
committer | Mamoru Komachi <usata@gentoo.org> | 2004-01-23 07:27:07 +0000 |
commit | 772c64a83b9c9e44d404a642b5cebe4dfd7513b5 (patch) | |
tree | e9ea69eb8df8684b22f266e6f19b8bee389ec960 /eclass/ruby-gnome2.eclass | |
parent | bugfixes + support for stacked profiles (Manifest recommit) (diff) | |
download | gentoo-2-772c64a83b9c9e44d404a642b5cebe4dfd7513b5.tar.gz gentoo-2-772c64a83b9c9e44d404a642b5cebe4dfd7513b5.tar.bz2 gentoo-2-772c64a83b9c9e44d404a642b5cebe4dfd7513b5.zip |
Accepts CC and CXX variables to support distcc & cross compilation
Diffstat (limited to 'eclass/ruby-gnome2.eclass')
-rw-r--r-- | eclass/ruby-gnome2.eclass | 4 |
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() { |