From ce003f2e75e4db8b8f6ca8a1e96390f2bc62932c Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Jun 30 2020 19:36:06 +0000 Subject: Disable LTO --- diff --git a/libxcrypt.spec b/libxcrypt.spec index b5cc286..cbdd09a 100644 --- a/libxcrypt.spec +++ b/libxcrypt.spec @@ -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 - 4.4.16-5 +- Disable LTO + * Fri Jun 19 2020 Björn Esser - 4.4.16-4 - Trim %%changelog starting with v4.4.0 - Remove memcheck conditional