summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-08-18 23:00:20 +0200
committerThomas Haller <thaller@redhat.com>2020-08-18 23:00:20 +0200
commit2c12786e3dd0e1e76c1b18497c59c42a584402a4 (patch)
tree62b45aa54ceeb1e02438d9cfde526d6357a3b845 /contrib
parent44f4a458c2d5e7ebb755efde880db504ead3911d (diff)
contrib/rpm: enable LTO by default on RHEL-9 and newer
Diffstat (limited to 'contrib')
-rw-r--r--contrib/fedora/rpm/NetworkManager.spec2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/fedora/rpm/NetworkManager.spec b/contrib/fedora/rpm/NetworkManager.spec
index fada458d6a..20001c6fd7 100644
--- a/contrib/fedora/rpm/NetworkManager.spec
+++ b/contrib/fedora/rpm/NetworkManager.spec
@@ -59,7 +59,7 @@
%bcond_without regen_docs
%bcond_with debug
%bcond_with test
-%if 0%{?fedora} >= 33
+%if 0%{?fedora} >= 33 || 0%{?rhel} >= 9
%bcond_without lto
%else
%bcond_with lto