[Rpm-maint] [rpm-software-management/rpm] Come up with %_smp_flto macro that expands in a similar way to _smp_mflags. (#606)

Panu Matilainen notifications at github.com
Mon Jan 14 13:47:56 UTC 2019


The %{optflagsnolto} approach doesn't scale. When the next similar thing comes along, you'd then need variants for the entire matrix of possibilities. A simple and generic (if a bit crude) way to disable it is:
```%define _lto_cflags %{nil}```

The question is whether that's sufficient or if there should be some sort of more user-friendly "disable lto" macro. OTOH those "user-friendly" disablers tend to suffer from various other side-effects...

-- 
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/606#issuecomment-454009991
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-maint/attachments/20190114/7e7bfd9c/attachment.html>


More information about the Rpm-maint mailing list