Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9

This commit is contained in:
Peter Robinson 2014-06-06 19:26:55 +01:00
parent 5f46fd1f4e
commit b46cb5420c

View File

@ -109,6 +109,8 @@ This package contains tools for working with the cairo graphics library.
%patch3 -p1 -b .multilib %patch3 -p1 -b .multilib
%build %build
export CFLAGS="%{optflags} -flto -ffat-lto-objects"
%configure --disable-static \ %configure --disable-static \
--enable-xlib \ --enable-xlib \
--enable-ft \ --enable-ft \
@ -190,8 +192,8 @@ rm $RPM_BUILD_ROOT%{_libdir}/*.la
%{_libdir}/cairo/ %{_libdir}/cairo/
%changelog %changelog
* Fri May 1 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.13.1-0.2.git337ab1f * Fri Jun 6 2014 Peter Robinson <pbrobinson@fedoraproject.org> 1.13.1-0.2.git337ab1f
- Rebuild - Compile with -flto -ffat-lto-objects CFLAGS to fix FTBFSF with gcc 4.9
* Tue Sep 17 2013 Kalev Lember <kalevlember@gmail.com> - 1.13.1-0.1.git337ab1f * Tue Sep 17 2013 Kalev Lember <kalevlember@gmail.com> - 1.13.1-0.1.git337ab1f
- Update to 1.13.1 git snapshot for device scale support - Update to 1.13.1 git snapshot for device scale support