- compile with -fPIC

OBS-URL: https://build.opensuse.org/package/show/security:Stunnel/stunnel?expand=0&rev=45
This commit is contained in:
Daniel Rahn
2011-06-20 08:57:43 +00:00
committed by Git OBS Bridge
parent bd2d3975d9
commit 920e0efb18

View File

@@ -61,7 +61,7 @@ without any changes to the program code.
#autoreconf -fi
sed -i 's/-m 1770 -g nogroup//g' tools/Makefile.in
%if %{?suse_version:%suse_version}%{?!suse_version:99999} > 930
fPIE="-fPIE"
fPIE="-fPIC"
pie="-pie"
%endif
export CFLAGS="$RPM_OPT_FLAGS $fPIE"