diff --git a/pbzip2.spec b/pbzip2.spec index 9c99ccd..1e7351d 100644 --- a/pbzip2.spec +++ b/pbzip2.spec @@ -29,7 +29,11 @@ f=AUTHORS; iconv -f iso-8859-1 -t utf-8 $f > $f.utf8 && mv $f.utf8 $f %build -CFLAGS="%{optflags}" LDFLAGS="%{?__global_ldflags}" make %{?_smp_mflags} +export CFLAGS="-fpic %{optflags}" +export CXXFLAGS="-fpic %{optflags}" +export LDFLAGS="%{?__global_ldflags}" + +make %{?_smp_mflags} %install