Gentoo Archives: gentoo-alt

From: Alan Hourihane <alanh@×××××××××××.uk>
To: gentoo-alt@l.g.o
Subject: Re: [gentoo-alt] CFLAGS checking
Date: Thu, 04 Mar 2010 16:43:13
Message-Id: 1267720985.12958.1833.camel@jetpack.demon.co.uk
In Reply to: Re: [gentoo-alt] CFLAGS checking by Fabian Groffen
1 On Thu, 2010-03-04 at 17:31 +0100, Fabian Groffen wrote:
2 > On 04-03-2010 16:17:28 +0000, Alan Hourihane wrote:
3 > > Is there an easy way to check if there are certain flags set in CFLAGS
4 > > and do something in an ebuild ?
5 >
6 > flag-o-matic eclass, is-flag:
7 > # @DESCRIPTION:
8 > # Echo's "true" if flag is set in {C,CXX,F,FC}FLAGS. Accepts shell
9 > # globs.
10
11 Cool. Thanks Fabian !
12
13 Alan.