1 |
W dniu 19.07.2011 19:31, Donnie Berkholz pisze: |
2 |
> On 11:43 Sun 17 Jul , Kacper Kowalik wrote: |
3 |
>> W dniu 17.07.2011 10:45, Kfir Lavi pisze: |
4 |
>>> src_compile() { |
5 |
>>> emake CC=$(tc-getCC) || die |
6 |
>>> } |
7 |
>> Some systems export CC as "gcc -m64". |
8 |
> |
9 |
> I guess I'm a little confused here. What exactly is the problem and fix |
10 |
> you're proposing? You stopped halfway through, there should've been a |
11 |
> part at the end that said: |
12 |
> |
13 |
> ", so you need to do XX to avoid YY from happening". |
14 |
|
15 |
Use quotes: CC="$(tc-getCC)". Without it you could get emake CC=gcc -m64 |
16 |
and that would of course fail. |
17 |
Apologies for mental leap... |
18 |
Cheers, |
19 |
Kacper |