From d47b20ea68d67cab6cab0b3fe0cf28e0348f9839 Mon Sep 17 00:00:00 2001 From: Siddhesh Poyarekar Date: Sat, 13 Nov 2010 23:03:52 +0530 Subject: [PATCH] Build position independent object code --- LibRaw.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/LibRaw.spec b/LibRaw.spec index 3c03ade..82238bd 100644 --- a/LibRaw.spec +++ b/LibRaw.spec @@ -6,7 +6,7 @@ Summary: Library for reading RAW files obtained from digital photo cameras Name: LibRaw Version: 0.9.1 -Release: 8%{?dist} +Release: 9%{?dist} License: LGPLv2 or CDDL Group: Development/Libraries URL: http://www.libraw.org @@ -52,7 +52,7 @@ against LibRaw. LibRaw does not provide dynamic libraries. %build # This is not the autotools generated configure script -CFLAGS="%{optflags}" sh configure -P %{_prefix} +CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix} make %{?_smp_mflags} %install @@ -76,6 +76,9 @@ make install DESTDIR=%{buildroot} LIBDIR=%{_lib} %{_libdir}/libraw_r.a %changelog +* Sat Nov 13 2010 Siddhesh Poyarekar 0.9.1-9 +- Build position independent object code + * Sun Jul 08 2010 Siddhesh Poyarekar 0.9.1-8 - Remove LibRaw license since we're not distributing LibRaw under its terms