1 |
On Tue, Jul 19, 2011 at 9:32 PM, Kacper Kowalik <xarthisius@g.o>wrote: |
2 |
|
3 |
> W dniu 19.07.2011 19:31, Donnie Berkholz pisze: |
4 |
> > On 11:43 Sun 17 Jul , Kacper Kowalik wrote: |
5 |
> >> W dniu 17.07.2011 10:45, Kfir Lavi pisze: |
6 |
> >>> src_compile() { |
7 |
> >>> emake CC=$(tc-getCC) || die |
8 |
> >>> } |
9 |
> >> Some systems export CC as "gcc -m64". |
10 |
> > |
11 |
> > I guess I'm a little confused here. What exactly is the problem and fix |
12 |
> > you're proposing? You stopped halfway through, there should've been a |
13 |
> > part at the end that said: |
14 |
> > |
15 |
> > ", so you need to do XX to avoid YY from happening". |
16 |
> |
17 |
> Use quotes: CC="$(tc-getCC)". Without it you could get emake CC=gcc -m64 |
18 |
> and that would of course fail. |
19 |
> Apologies for mental leap... |
20 |
> Cheers, |
21 |
> Kacper |
22 |
> |
23 |
> |
24 |
> As I posted before, I have new code for your review in the bug 52848<https://bugs.gentoo.org/show_bug.cgi?id=352848>, |
25 |
and it doesn't use CC="$(tc-getCC)" |
26 |
anymore. |
27 |
|
28 |
Thanks, |
29 |
Kfir |