Use frename-registers cflag to fix FTBFS on aarch64
This commit is contained in:
parent
9bb6c46740
commit
cd6327599a
@ -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@fedoraproject.org> 0.4.1-2
|
||||
- Use frename-registers cflag to fix FTBFS on aarch64
|
||||
|
||||
* Tue Aug 05 2014 Sandro Mani <manisandro@gmail.com> - 0.4.1-1
|
||||
- upstream release 0.4.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user