From 7d1a3747bc7f0046cb92dbaae444d399b4a780c2 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Wed, 1 Jul 2020 12:07:53 -0600 Subject: [PATCH] Disable LTO --- oniguruma.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/oniguruma.spec b/oniguruma.spec index 2087bd3..3f86a39 100644 --- a/oniguruma.spec +++ b/oniguruma.spec @@ -4,7 +4,7 @@ %global betaver rev1 %undefine prerelease -%global fedorarel 1 +%global fedorarel 2 Name: oniguruma Version: %{mainver} @@ -51,6 +51,11 @@ done %endif %build +# This package fails its testsuite when compiled with LTO, but the real problem +# is that it ends up mixing and matching regexp bits between itself and glibc. +# Disable LTO +%define _lto_cflags %{nil} + %configure \ --enable-posix-api \ --disable-silent-rules \ @@ -106,6 +111,9 @@ find $RPM_BUILD_ROOT -name '*.la' \ %{_libdir}/pkgconfig/%{name}.pc %changelog +* Wed Jul 1 2020 Jeff Law - 6.9.5-2.rev1 +- Disable LTO + * Thu May 7 2020 Mamoru TASAKA - 6.9.5-1.rev1 - 6.9.5 revised 1