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:16:41.781777900 +0800 @@ -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"