spec: Derive $LD_FLAGS from $RPM_LD_FLAGS

$LD_FLAGS is initially empty.
This commit is contained in:
Timm Bäder 2020-11-17 15:05:43 +01:00
parent 7fe48cbcb5
commit 58a460d5f9

View File

@ -107,7 +107,7 @@ mv telnet telnet-NETKIT
export CC_FLAGS="$RPM_OPT_FLAGS -fpie"
%endif
export LD_FLAGS="$LD_FLAGS -z now -pie"
export LD_FLAGS="$RPM_LD_FLAGS -z now -pie"
sh configure --with-c-compiler=gcc
perl -pi -e '