On Tue, Jul 19, 2011 at 9:32 PM, Kacper Kowalik <xarthis...@gentoo.org>wrote:

> W dniu 19.07.2011 19:31, Donnie Berkholz pisze:
> > On 11:43 Sun 17 Jul     , Kacper Kowalik wrote:
> >> W dniu 17.07.2011 10:45, Kfir Lavi pisze:
> >>> src_compile() {
> >>>     emake CC=$(tc-getCC) || die
> >>> }
> >> Some systems export CC as "gcc -m64".
> >
> > I guess I'm a little confused here. What exactly is the problem and fix
> > you're proposing? You stopped halfway through, there should've been a
> > part at the end that said:
> >
> > ", so you need to do XX to avoid YY from happening".
>
> Use quotes: CC="$(tc-getCC)". Without it you could get emake CC=gcc -m64
> and that would of course fail.
> Apologies for mental leap...
> Cheers,
> Kacper
>
>
> As I posted before, I have new code for your review in the bug 
> 52848<https://bugs.gentoo.org/show_bug.cgi?id=352848>,
and it doesn't use CC="$(tc-getCC)"
anymore.

Thanks,
Kfir

Reply via email to