From 2918eaf58f8d0affe8509a5f3083c449eafd6131 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 30 Jun 2020 13:50:30 -0600 Subject: [PATCH] Disable LTO. --- clutter.spec | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/clutter.spec b/clutter.spec index c620ec3..7b592a2 100644 --- a/clutter.spec +++ b/clutter.spec @@ -10,7 +10,7 @@ Name: clutter Version: 1.26.4 -Release: 1%{?dist} +Release: 2%{?dist} Summary: Open Source software library for creating rich graphical user interfaces License: LGPLv2+ @@ -88,6 +88,11 @@ the functionality of the installed clutter package. %autosetup -p1 %build +# gobject introspection does not work with LTO. There is an effort to fix this +# in the appropriate project upstreams, so hopefully LTO can be enabled someday +# Disable LTO. +%define _lto_cflags %{nil} + %configure \ --enable-xinput \ --enable-gdk-backend \ @@ -139,6 +144,9 @@ find %{buildroot} -name '*.la' -delete %endif %changelog +* Tue Jun 30 2020 Jeff Law - 1.26.4-2 +Disable LTO + * Mon Mar 09 2020 Kalev Lember - 1.26.4-1 - Update to 1.26.4 - Include clutter.supp valgrind suppression file