-fPIC on 32-bit MIPS

This commit is contained in:
Michal Toman 2016-08-12 13:08:48 +02:00 committed by Sandro Mani
parent 90921b0d09
commit 91896c5baa
1 changed files with 5 additions and 2 deletions

View File

@ -3,7 +3,7 @@
Name: freeimage
Version: 3.17.0
Release: 5%{?dist}
Release: 6%{?dist}
Summary: Multi-format image decoder library
# freeimage is tripple-licensed, see
@ -87,7 +87,7 @@ done
%build
sh ./gensrclist.sh
sh ./genfipsrclist.sh
%ifarch %{power64}
%ifarch %{power64} %{mips32}
make -f Makefile.gnu %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}"
make -f Makefile.fip %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}"
%else
@ -146,6 +146,9 @@ ldconfig -n %{buildroot}%{_libdir}
%changelog
* Fri Aug 12 2016 Michal Toman <mtoman@fedoraproject.org> - 3.17.0-6
- -fPIC on 32-bit MIPS
* Wed Feb 03 2016 Fedora Release Engineering <releng@fedoraproject.org> - 3.17.0-5
- Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild