Provide full RELRO and PIE form askpass helper (#1264036)

This commit is contained in:
Jakub Jelen 2015-09-18 10:22:53 +02:00
parent 3e5d955bcb
commit 812f08d95e

View File

@ -604,10 +604,12 @@ make
%if ! %{no_gnome_askpass}
pushd contrib
if [ $gtk2 = yes ] ; then
make gnome-ssh-askpass2
CFLAGS="$CFLAGS %{?__global_ldflags}" \
make gnome-ssh-askpass2
mv gnome-ssh-askpass2 gnome-ssh-askpass
else
make gnome-ssh-askpass1
CFLAGS="$CFLAGS %{?__global_ldflags}"
make gnome-ssh-askpass1
mv gnome-ssh-askpass1 gnome-ssh-askpass
fi
popd