add -fPIC to CFLAGS

OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=14
This commit is contained in:
OBS User mrdocs 2010-11-25 21:50:21 +00:00 committed by Git OBS Bridge
parent e12ab4221c
commit 8fcf7288dc

View File

@ -86,7 +86,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} -o -l -I %{_includedir} -L %{libdir} CFLAGS="%{optflags} -fPIC" sh configure -P %{_prefix} -o -l -I %{_includedir} -L %{libdir}
%__make %{?_smp_mflags} %__make %{?_smp_mflags}
%install %install