From 1bdf054407fa810db32d4f0baa3ac0a176cd706b Mon Sep 17 00:00:00 2001 From: Tom Stellard Date: Thu, 11 Nov 2021 18:24:57 +0000 Subject: [PATCH] Enable lto on s390x and arm --- llvm.spec | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/llvm.spec b/llvm.spec index 1208056..fee04b8 100644 --- a/llvm.spec +++ b/llvm.spec @@ -68,7 +68,7 @@ Name: %{pkg_name} Version: %{maj_ver}.%{min_ver}.%{patch_ver}%{?rc_ver:~rc%{rc_ver}} -Release: 6%{?dist} +Release: 7%{?dist} Summary: The Low Level Virtual Machine License: NCSA @@ -207,14 +207,7 @@ LLVM's modified googletest sources. utils/update_cc_test_checks.py %build - -# Disable lto on s390x due to https://bugzilla.redhat.com/show_bug.cgi?id=2017193 -# Disable lto on arm due to https://bugzilla.redhat.com/show_bug.cgi?id=1918924 -%ifarch s390x %{arm} -%global _lto_cflags %{nil} -%else %global _lto_cflags -flto=thin -%endif %ifarch s390 s390x %{arm} %ix86 # Decrease debuginfo verbosity to reduce memory consumption during final library linking @@ -548,6 +541,9 @@ fi %endif %changelog +* Thu Nov 11 2021 Tom Stellard - 13.0.0-7 +- Enable lto on s390x and arm + * Mon Oct 25 2021 Tom Stellard - 13.0.0-6 - Build with Thin LTO