Build obj files with -fpic

This commit is contained in:
Adam Tkac 2015-09-14 14:02:47 +02:00
parent b67d03b2d4
commit f4f9a22c02

View File

@ -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