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:
parent
fcfbef26e4
commit
0168de83de
@ -18,6 +18,11 @@
|
|||||||
|
|
||||||
%import source.inc
|
%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
|
# PatchN: nnn.patch goes here
|
||||||
|
|
||||||
%prep
|
%prep
|
||||||
|
Loading…
Reference in New Issue
Block a user