Build obj files with -fpic
This commit is contained in:
parent
b67d03b2d4
commit
f4f9a22c02
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user