1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

spec: disable LTO

Currently there is not much gain in using LTO when building
testing rpms
This commit is contained in:
Zdenek Kabelac 2024-04-11 23:27:07 +02:00
parent fcfbef26e4
commit 0168de83de

View File

@ -18,6 +18,11 @@
%import source.inc
%if %{lvm2_testsuite_build} == 0
# Disable global optimization when building on machine with installed lvm2-testsuited
%global _lto_cflags %nil
%endif
# PatchN: nnn.patch goes here
%prep