force -fPIC for everything
This commit is contained in:
parent
7469f4cedb
commit
f1dd8437d2
@ -44,8 +44,9 @@ automake-1.4 -a
|
|||||||
autoconf
|
autoconf
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
CFLAGS="$RPM_OPT_FLAGS -fPIC"; export CFLAGS
|
||||||
if pkg-config openssl ; then
|
if pkg-config openssl ; then
|
||||||
CFLAGS="$RPM_OPT_FLAGS `pkg-config --cflags openssl`"; export CFLAGS
|
CFLAGS="$CFLAGS `pkg-config --cflags openssl`";
|
||||||
LDFLAGS="`pkg-config --libs-only-L openssl`"; export LDFLAGS
|
LDFLAGS="`pkg-config --libs-only-L openssl`"; export LDFLAGS
|
||||||
fi
|
fi
|
||||||
%configure --with-tcp-wrappers --with-pic
|
%configure --with-tcp-wrappers --with-pic
|
||||||
|
Loading…
Reference in New Issue
Block a user