NetworkManager/contrib
Thomas Haller 839ba57c7f
contrib/rpm: enable LTO by default on Fedora 33
With Fedora 33, LTO will be enabled by default via CFLAGS in
redhat-rpm-config ([1]).

That basically sets "CFLAGS=-flto -ffat-lto-objects".

Note that we have our own configure/meson option to enable LTO.
With "--with-lto" we set CFLAGS="-flto -flto-partition=none". This
is necessary due ([2], [3]).

So, disable Fedora's automatism, but turn on the suitable configure
option to get working LTO.

[1] 5baaf4a99c?branch=master
[2] e6cf4213a7 ('build: fix building with LTO')
[3] https://gcc.gnu.org/bugzilla/show_bug.cgi?id=48200#c28
2020-08-17 15:20:08 +02:00
..
art/logo artwork: introduce NetworkManager stickers 2019-09-30 17:36:59 +02:00
debian build/debian: install mobile-broadband-provider-info 2019-09-11 14:54:34 +02:00
editors contrib: add emacs config for hacking on NM 2015-08-11 13:42:26 -04:00
fedora contrib/rpm: enable LTO by default on Fedora 33 2020-08-17 15:20:08 +02:00
scripts scripts: use "/bin/cat" in NM-log 2020-08-17 10:58:19 +02:00