From 72195ead283c28c22321cc21c78ede77cc1ac63e Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Sat, 8 Aug 2020 13:19:53 -0600 Subject: [PATCH] Disable LTO for now --- libomp.spec | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/libomp.spec b/libomp.spec index cf06369..a56e8b1 100644 --- a/libomp.spec +++ b/libomp.spec @@ -1,5 +1,5 @@ #%%global rc_ver 6 -%global baserelease 6 +%global baserelease 7 %global libomp_srcdir openmp-%{version}%{?rc_ver:rc%{rc_ver}}.src @@ -74,6 +74,8 @@ OpenMP regression tests %autosetup -n %{libomp_srcdir} -p1 %build +# LTO causes build failures in this package. Disable LTO for now +%define _lto_cflags %{nil} %cmake -GNinja \ -DLIBOMP_INSTALL_ALIASES=OFF \ @@ -140,6 +142,9 @@ rm -rf %{buildroot}%{_libdir}/libarcher_static.a %{_libexecdir}/tests/libomp/ %changelog +* Sat Aug 08 2020 Jeff Law - 10.0.0-7 +- Disable LTO for now + * Sat Aug 01 2020 Fedora Release Engineering - 10.0.0-6 - Second attempt - Rebuilt for https://fedoraproject.org/wiki/Fedora_33_Mass_Rebuild