diff -ur xen-tools.orig//xen-tools-3.4.2-r3.ebuild xen-tools//xen-tools-3.4.2-r3.ebuild --- xen-tools.orig//xen-tools-3.4.2-r3.ebuild 2011-09-25 04:55:10.000000000 +0800 +++ xen-tools//xen-tools-3.4.2-r3.ebuild 2011-09-25 22:43:26.229777249 +0800 @@ -4,7 +4,7 @@ EAPI="3" -inherit base flag-o-matic eutils multilib python +inherit base flag-o-matic eutils multilib python toolchain-funcs # TPMEMUFILE=tpm_emulator-0.4.tar.gz @@ -138,7 +138,7 @@ append-flags -fno-strict-overflow fi - emake -C tools ${myopt} || die "compile failed" + emake CC=$(tc-getCC) -C tools ${myopt} || die "compile failed" if use doc; then sh ./docs/check_pkgs || die "package check failed"