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
either.
You can view, comment on, or merge this pull request online at:

  https://github.com/rpm-software-management/rpm/pull/813

-- Commit Summary --

  * Drop %_lto_cflags macro afterall

-- File Changes --

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

-- Patch Links --

https://github.com/rpm-software-management/rpm/pull/813.patch
https://github.com/rpm-software-management/rpm/pull/813.diff

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/rpm-software-management/rpm/pull/813
_______________________________________________
Rpm-maint mailing list
Rpm-maint@lists.rpm.org
http://lists.rpm.org/mailman/listinfo/rpm-maint

Reply via email to