Build position independent object code

This commit is contained in:
Siddhesh Poyarekar 2010-11-13 23:03:52 +05:30
parent 23426b794f
commit d47b20ea68

View File

@ -6,7 +6,7 @@
Summary: Library for reading RAW files obtained from digital photo cameras Summary: Library for reading RAW files obtained from digital photo cameras
Name: LibRaw Name: LibRaw
Version: 0.9.1 Version: 0.9.1
Release: 8%{?dist} Release: 9%{?dist}
License: LGPLv2 or CDDL License: LGPLv2 or CDDL
Group: Development/Libraries Group: Development/Libraries
URL: http://www.libraw.org URL: http://www.libraw.org
@ -52,7 +52,7 @@ against LibRaw. LibRaw does not provide dynamic libraries.
%build %build
# This is not the autotools generated configure script # This is not the autotools generated configure script
CFLAGS="%{optflags}" sh configure -P %{_prefix} CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -76,6 +76,9 @@ make install DESTDIR=%{buildroot} LIBDIR=%{_lib}
%{_libdir}/libraw_r.a %{_libdir}/libraw_r.a
%changelog %changelog
* Sat Nov 13 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-9
- Build position independent object code
* Sun Jul 08 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-8 * Sun Jul 08 2010 Siddhesh Poyarekar <siddhesh.poyarekar@gmail.com> 0.9.1-8
- Remove LibRaw license since we're not distributing LibRaw under its terms - Remove LibRaw license since we're not distributing LibRaw under its terms