From 8fcf7288dccda6c6aef68555d3cfcb1a165f50205bc0bce73a497a9e3f454182 Mon Sep 17 00:00:00 2001 From: OBS User mrdocs Date: Thu, 25 Nov 2010 21:50:21 +0000 Subject: [PATCH] add -fPIC to CFLAGS OBS-URL: https://build.opensuse.org/package/show/graphics/libraw?expand=0&rev=14 --- libraw.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libraw.spec b/libraw.spec index c56aef3..f26493e 100644 --- a/libraw.spec +++ b/libraw.spec @@ -86,7 +86,7 @@ against LibRaw. LibRaw does not provide dynamic libraries. %build # 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} %install