Gentoo Archives: gentoo-dev

From: Jeroen Roovers <jer@g.o>
To: gentoo-dev@l.g.o
Subject: Re: [gentoo-dev] Don't use / when applying sed with CFLAGS
Date: Mon, 27 Jun 2011 15:44:40
Message-Id: 20110627174402.691b269e@epia.jer-c2.orkz.net
In Reply to: Re: [gentoo-dev] Don't use / when applying sed with CFLAGS by Fabian Groffen
1 On Mon, 27 Jun 2011 17:01:01 +0200
2 Fabian Groffen <grobian@g.o> wrote:
3
4 > On 27-06-2011 14:08:52 +0000, Justin Lecher wrote:
5 > > Please do not use / as seperater when using sed with CFLAGS. I came
6 > > across a bug today where it failed for crossdev. Here the toolchain
7 > > header paths in the cflags and consowuently the seds fail.
8 >
9 > Please also don't use ':' as separator, as some platforms have options
10 > for their toolchain that includes colons.
11
12 Then don't do it at all or we could be here til Christmas. That is, do
13 not inject CFLAGS/LDFLAGS/CC/... into any file, but use the file's
14 native variable format so that it picks up the information from the
15 environment. :)
16
17
18 jer