This is not for stripping flags, it's for detecting a flag and e.g.
changing the configure invocation accordingly.

E.g. libreoffice has
is-flagq "-flto*" && myeconfargs+=( --enable-lto )

Am Mo., 27. Juni 2022 um 16:51 Uhr schrieb Mike Gilbert <[email protected]>:
>
> On Mon, Jun 27, 2022 at 3:04 AM Sam James <[email protected]> wrote:
> >
> > From: Jannik Glückert <[email protected]>
> >
> > Handle bits like -flto -fno-lto.
>
> Why would we care about this? If we just strip the -flto out, that
> leaves -fno-lto and the result is the same.
>
> What am I missing?

Reply via email to