• [gentoo-dev] Re: [PATCH 1/2] flag-o-matic.eclass: have is-flagq respect

    From =?UTF-8?Q?Jannik_Gl=C3=BCckert?=@21:1/5 to All on Mon Jun 27 17:00:01 2022
    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 <floppym@gentoo.org>:

    On Mon, Jun 27, 2022 at 3:04 AM Sam James <sam@gentoo.org> wrote:

    From: Jannik Glückert <jannik.glueckert@gmail.com>

    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mike Gilbert@21:1/5 to sam@gentoo.org on Mon Jun 27 17:00:01 2022
    On Mon, Jun 27, 2022 at 3:04 AM Sam James <sam@gentoo.org> wrote:

    From: Jannik Glückert <jannik.glueckert@gmail.com>

    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?

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Mike Gilbert@21:1/5 to jannik.glueckert@gmail.com on Mon Jun 27 17:10:01 2022
    On Mon, Jun 27, 2022 at 10:55 AM Jannik Glückert
    <jannik.glueckert@gmail.com> wrote:

    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 )

    Ah, that makes more sense. Thanks for explaining.

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)