contrib/rpm: enable LTO by default on RHEL-9 and newer

This commit is contained in:
Thomas Haller 2020-08-18 23:00:20 +02:00
parent 44f4a458c2
commit 2c12786e3d
No known key found for this signature in database
GPG Key ID: 29C2366E4DFC5728

View File

@ -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