[Rpm-maint] [rpm-software-management/rpm] Drop %_lto_cflags macro afterall (#813)

Panu Matilainen notifications at github.com
Tue Aug 13 13:34:20 UTC 2019

This was only added in commit 2bb7b0cf066c97a9d92eb0bf59618896000cb29d,
but turns out that this kind of usage is bad for build reproducability
because the system-specific CPU count gets recorded RPMTAG_OPTFLAGS
and the resulting binaries too (depending on gcc flags).
In addition, gcc upstream has decided to make -flto default to
autodetected parallelism. Since -flto can be overridden with
by simply appending -fno-lto for the packages that need to disable it,
there's no practical need for us to provide such a macro for disabling
You can view, comment on, or merge this pull request online at:


-- Commit Summary --

  * Drop %_lto_cflags macro afterall

-- File Changes --

    M macros.in (2)
    M platform.in (3)

-- Patch Links --


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190813/7fcb0bb4/attachment.html>

More information about the Rpm-maint mailing list