--- wmload-0.9.2.ebuild.orig 2008-11-28 18:04:11.851630404 +0000 +++ wmload-0.9.2.ebuild 2008-11-28 18:04:28.464667829 +0000 @@ -2,7 +2,7 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmload/wmload-0.9.2.ebuild,v 1.10 2008/11/26 00:01:43 tcunha Exp $ -inherit eutils +inherit eutils toolchain-funcs IUSE="" @@ -30,7 +30,7 @@ src_compile() { xmkmf || die "xmkmf failed." - emake CDEBUGFLAGS="${CFLAGS}" || die "emake failed." + emake CC="$(tc-getCC)" CDEBUGFLAGS="${CFLAGS}" || die "emake failed." } src_install() {