smani pushed to libwebp (el6). "Use frename-registers cflag to fix FTBFS on aarch64"

notifications at fedoraproject.org notifications at fedoraproject.org
Fri Mar 27 18:09:38 UTC 2015


>From cd6327599a855bd37155e4e6468a1137fc250ab9 Mon Sep 17 00:00:00 2001
From: Peter Robinson <pbrobinson at gmail.com>
Date: Wed, 13 Aug 2014 10:04:19 +0100
Subject: Use frename-registers cflag to fix FTBFS on aarch64


diff --git a/libwebp.spec b/libwebp.spec
index 36b97e2..0ba5187 100644
--- a/libwebp.spec
+++ b/libwebp.spec
@@ -2,7 +2,7 @@
 
 Name:          libwebp
 Version:       0.4.1
-Release:       1%{?dist}
+Release:       2%{?dist}
 Group:         Development/Libraries
 URL:           http://webmproject.org/
 Summary:       Library and tools for the WebP graphics format
@@ -65,6 +65,9 @@ Java bindings for libwebp.
 
 %build
 autoreconf -vif
+%ifarch aarch64
+export CFLAGS="%{optflags} -frename-registers"
+%endif
 %configure --disable-static --enable-libwebpmux \
            --enable-libwebpdemux --enable-libwebpdecoder
 
@@ -124,6 +127,9 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
 %{_libdir}/%{name}-java/
 
 %changelog
+* Wed Aug 13 2014 Peter Robinson <pbrobinson at fedoraproject.org> 0.4.1-2
+- Use frename-registers cflag to fix FTBFS on aarch64
+
 * Tue Aug 05 2014 Sandro Mani <manisandro at gmail.com> - 0.4.1-1
 - upstream release 0.4.1
 
-- 
cgit v0.10.2


	http://pkgs.fedoraproject.org/cgit/libwebp.git/commit/?h=el6&id=cd6327599a855bd37155e4e6468a1137fc250ab9


More information about the scm-commits mailing list