Disable lto cflags

This commit is contained in:
Petr Lautrbach 2020-07-27 13:57:27 +02:00
parent 5891e260ee
commit 83ed0d4737
1 changed files with 4 additions and 2 deletions

View File

@ -1,5 +1,5 @@
%define libsepolver 3.1
%define libselinuxver 3.1
%define libsepolver 3.1-3
%define libselinuxver 3.1-2
Summary: SELinux binary policy manipulation library
Name: libsemanage
@ -78,6 +78,8 @@ SELinux management applications.
%build
# Disable LTO
%define _lto_cflags %{nil}
%set_build_flags
CFLAGS="$CFLAGS -fno-semantic-interposition"