diff -r 84a9f800fa37 -r 1e46ce84435a libpixman/libpixman.spec --- a/libpixman/libpixman.spec Thu Oct 04 20:00:55 2012 +0200 +++ b/libpixman/libpixman.spec Thu Oct 04 20:04:22 2012 +0200 @@ -32,7 +32,10 @@ Group: XWindow License: MIT-style Version: 0.26.2 -Release: 20120630 +Release: 20120800 + +# package options +%option with_pic no # list of sources Source0: http://cairographics.org/releases/pixman-%{version}.tar.gz @@ -59,7 +62,12 @@ %build CC="%{l_cc}" \ +%if "%{with_pic}" == "yes" + CFLAGS="%{l_cflags -O} -fPIC" \ + LDFLAGS="%{l_cflags -O} -fPIC" \ +%else CFLAGS="%{l_cflags -O}" \ +%endif ./configure \ --prefix=%{l_prefix} \ --disable-gtk \