]> xenbits.xensource.com Git - libvirt.git/commitdiff
spec: Don't disable LTO in Fedora 34
authorAndrea Bolognani <abologna@redhat.com>
Wed, 5 May 2021 17:31:32 +0000 (19:31 +0200)
committerAndrea Bolognani <abologna@redhat.com>
Thu, 6 May 2021 09:06:00 +0000 (11:06 +0200)
The bug that caused this to be added

  https://bugzilla.redhat.com/show_bug.cgi?id=1889763

has since been resolved.

Reverts: a16c0402bae3138c8c6c6da5bbe1bb4ad2c4dc06
Signed-off-by: Andrea Bolognani <abologna@redhat.com>
Reviewed-by: Michal Privoznik <mprivozn@redhat.com>
libvirt.spec.in

index da7af2824e15b538fbd124d21bf35d8b3347aad7..27de42f8224ac782269bcc62ecf8d6c77dcbf511 100644 (file)
@@ -985,13 +985,6 @@ Libvirt plugin for NSS for translating domain names into IP addresses.
 %autosetup -S git_am
 
 %build
-
-%if 0%{?fedora} == 34
-    # binutils change in F34 broke linking of tests
-    # https://bugzilla.redhat.com/show_bug.cgi?id=1889763
-    %define _lto_cflags %{nil}
-%endif
-
 %if ! %{supported_platform}
 echo "This RPM requires either Fedora >= %{min_fedora} or RHEL >= %{min_rhel}"
 exit 1