Gentoo Archives: gentoo-dev

From: Mike Frysinger <vapier@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 19:26:53
Message-Id: 201106271526.08957.vapier@gentoo.org
In Reply to: Re: [gentoo-dev] Don't use / when applying sed with CFLAGS by Lars Wendler
1 On Monday, June 27, 2011 11:23:58 Lars Wendler wrote:
2 > Am Montag 27 Juni 2011, 17:01:01 schrieb Fabian Groffen:
3 > > On 27-06-2011 14:08:52 +0000, Justin Lecher wrote:
4 > > > Please do not use / as seperater when using sed with CFLAGS. I came
5 > > > across a bug today where it failed for crossdev. Here the toolchain
6 > > > header paths in the cflags and consowuently the seds fail.
7 > >
8 > > Please also don't use ':' as separator, as some platforms have options
9 > > for their toolchain that includes colons.
10 >
11 > Rather than telling us what to _not_ use as separator how about suggesting
12 > a list of konwn to be good separators for such cases. How about the @
13 > character?
14
15 "|" tends to be safe for *FLAGS
16
17 this topic has come up before, so it's probably useful to read the history in
18 the archives rather than rehash the whole thing from scratch every year or so.
19 i thought we also had a section in the devmanual covering this ...
20 -mike

Attachments

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

Replies