Disable LTO

This commit is contained in:
Jeff Law 2020-06-30 13:36:06 -06:00
parent ef8e0cc508
commit ce003f2e75

View File

@ -153,7 +153,7 @@ fi \
Name: libxcrypt
Version: 4.4.16
Release: 4%{?dist}
Release: 5%{?dist}
Summary: Extended crypt library for descrypt, md5crypt, bcrypt, and others
# For explicit license breakdown, see the
@ -331,6 +331,9 @@ EOF
%build
# The configure scripts want to use -Wl,--wrap which is not compatible with LTO
%define _lto_cflags %{nil}
mkdir -p %{_vpath_builddir}
# Build the default system library.
@ -482,6 +485,9 @@ done
%changelog
* Tue Jun 30 2020 Jeff Law <law@redhat.com> - 4.4.16-5
- Disable LTO
* Fri Jun 19 2020 Björn Esser <besser82@fedoraproject.org> - 4.4.16-4
- Trim %%changelog starting with v4.4.0
- Remove memcheck conditional