From 91896c5baa2b12cccb557f071c094e458a501e78 Mon Sep 17 00:00:00 2001 From: Michal Toman Date: Fri, 12 Aug 2016 13:08:48 +0200 Subject: [PATCH] -fPIC on 32-bit MIPS --- freeimage.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/freeimage.spec b/freeimage.spec index 321a79f..ad63550 100644 --- a/freeimage.spec +++ b/freeimage.spec @@ -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 - 3.17.0-6 +- -fPIC on 32-bit MIPS + * Wed Feb 03 2016 Fedora Release Engineering - 3.17.0-5 - Rebuilt for https://fedoraproject.org/wiki/Fedora_24_Mass_Rebuild