From b46cb5420cdefe3cebe80d0120b192d5b1e3e961 Mon Sep 17 00:00:00 2001 From: Peter Robinson Date: Fri, 6 Jun 2014 19:26:55 +0100 Subject: [PATCH] Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9 --- cairo.spec | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/cairo.spec b/cairo.spec index 491e688..2d7fdbb 100644 --- a/cairo.spec +++ b/cairo.spec @@ -109,6 +109,8 @@ This package contains tools for working with the cairo graphics library. %patch3 -p1 -b .multilib %build +export CFLAGS="%{optflags} -flto -ffat-lto-objects" + %configure --disable-static \ --enable-xlib \ --enable-ft \ @@ -190,8 +192,8 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la %{_libdir}/cairo/ %changelog -* Fri May 1 2014 Peter Robinson 1.13.1-0.2.git337ab1f -- Rebuild +* Fri Jun 6 2014 Peter Robinson 1.13.1-0.2.git337ab1f +- Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9 * Tue Sep 17 2013 Kalev Lember - 1.13.1-0.1.git337ab1f - Update to 1.13.1 git snapshot for device scale support