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