Use a better way to disable LTO
This commit is contained in:
parent
ce003f2e75
commit
f2eb89895a
@ -151,6 +151,11 @@ fi \
|
|||||||
%global _ld_strict_symbol_defs 1
|
%global _ld_strict_symbol_defs 1
|
||||||
|
|
||||||
|
|
||||||
|
# The configure scripts want to use -Wl,--wrap,
|
||||||
|
# which is not compatible with LTO.
|
||||||
|
%undefine _lto_cflags
|
||||||
|
|
||||||
|
|
||||||
Name: libxcrypt
|
Name: libxcrypt
|
||||||
Version: 4.4.16
|
Version: 4.4.16
|
||||||
Release: 5%{?dist}
|
Release: 5%{?dist}
|
||||||
@ -331,9 +336,6 @@ EOF
|
|||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
# The configure scripts want to use -Wl,--wrap which is not compatible with LTO
|
|
||||||
%define _lto_cflags %{nil}
|
|
||||||
|
|
||||||
mkdir -p %{_vpath_builddir}
|
mkdir -p %{_vpath_builddir}
|
||||||
|
|
||||||
# Build the default system library.
|
# Build the default system library.
|
||||||
|
Loading…
Reference in New Issue
Block a user