Disable LTO

This commit is contained in:
Tom Stellard 2020-08-10 10:16:48 -07:00
parent d11d07b84d
commit 3ff7ed6bdd

View File

@ -1,5 +1,5 @@
#%%global rc_ver 6 #%%global rc_ver 6
%global baserelease 5 %global baserelease 6
%global lld_srcdir lld-%{version}%{?rc_ver:rc%{rc_ver}}.src %global lld_srcdir lld-%{version}%{?rc_ver:rc%{rc_ver}}.src
%global maj_ver 10 %global maj_ver 10
%global min_ver 0 %global min_ver 0
@ -84,6 +84,9 @@ LLVM regression tests.
%build %build
# Disable lto since it causes the COFF/libpath.test lit test to crash.
%global _lto_cflags %{nil}
%cmake \ %cmake \
-GNinja \ -GNinja \
-DLLVM_LINK_LLVM_DYLIB:BOOL=ON \ -DLLVM_LINK_LLVM_DYLIB:BOOL=ON \
@ -190,6 +193,9 @@ fi
%{_datadir}/lld/lit.lld-test.cfg.py %{_datadir}/lld/lit.lld-test.cfg.py
%changelog %changelog
* Mon Aug 10 2020 Tom Stellard <tstellar@redhat.com> - 10.0.0-6
- Disable LTO
* Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-5 * Sat Aug 01 2020 Fedora Release Engineering <releng@fedoraproject.org> - 10.0.0-5
- Second attempt - Rebuilt for - Second attempt - Rebuilt for
https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild