Gentoo Archives: gentoo-dev

From: Kacper Kowalik <xarthisius@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] net-misc/pimd RFC for new ebuild
Date: Tue, 19 Jul 2011 18:33:14
Message-Id: 4E25CDB8.3050407@gentoo.org
In Reply to: Re: [gentoo-dev] net-misc/pimd RFC for new ebuild by Donnie Berkholz
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

Attachments

File name MIME type
signature.asc application/pgp-signature

Replies

Subject Author
Re: [gentoo-dev] net-misc/pimd RFC for new ebuild Mike Frysinger <vapier@g.o>
Re: [gentoo-dev] net-misc/pimd RFC for new ebuild Kfir Lavi <lavi.kfir@×××××.com>