diff --git a/lld.spec b/lld.spec index 9e311779a4f160e8b2d5866616bf1a5af8377b90..8113ec68e4d082c0a45f7510d2037a1397c3fb3d 100644 --- a/lld.spec +++ b/lld.spec @@ -16,9 +16,12 @@ %global __provides_exclude_from ^%{_libdir}/lld/.*$ %global __requires_exclude ^libgtest.*$ +# Disable LTO as this causes crash if gcc lto enabled. +%define _lto_cflags %{nil} + Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver} -Release: 1 +Release: 2 Summary: The LLVM Linker License: NCSA @@ -117,6 +120,9 @@ cd _build %{install_libdir}/liblld*.so.* %changelog +* Wed Jun 7 2023 Chenxi Mao - 15.0.7-2 +- Disable LTO as this causes crash if gcc lto enabled. + * Mon Feb 20 2023 Chenxi Mao - 15.0.7-1 - Upgrade to 15.0.7.