Gentoo Archives: gentoo-dev

From: "Jannik Glückert" <jannik.glueckert@×××××.com>
To: Mike Gilbert <floppym@g.o>
Cc: Sam James <sam@g.o>, Gentoo Dev <gentoo-dev@l.g.o>, toolchain@g.o
Subject: [gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag
Date: Mon, 27 Jun 2022 14:55:52
Message-Id: CAFqe=z+hDbGW0BJe24a2S--ZVMXkWxVoKVcuSqvCSBEX3F+akg@mail.gmail.com
In Reply to: [gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect succeeding -fno-flag by Mike Gilbert
1 This is not for stripping flags, it's for detecting a flag and e.g.
2 changing the configure invocation accordingly.
3
4 E.g. libreoffice has
5 is-flagq "-flto*" && myeconfargs+=( --enable-lto )
6
7 Am Mo., 27. Juni 2022 um 16:51 Uhr schrieb Mike Gilbert <floppym@g.o>:
8 >
9 > On Mon, Jun 27, 2022 at 3:04 AM Sam James <sam@g.o> wrote:
10 > >
11 > > From: Jannik Glückert <jannik.glueckert@×××××.com>
12 > >
13 > > Handle bits like -flto -fno-lto.
14 >
15 > Why would we care about this? If we just strip the -flto out, that
16 > leaves -fno-lto and the result is the same.
17 >
18 > What am I missing?

Replies