use system CFLAGS and LDFLAGS

This commit is contained in:
Miroslav Lichvar 2018-05-25 14:34:31 +02:00
parent 05522ecc21
commit be0300e0ca

View File

@ -45,10 +45,6 @@ access to the memcached binary include files.
%patch1 -p1 -b .unit
%build
# compile with full RELRO
export CFLAGS="%{optflags} -pie -fpie"
export LDFLAGS="-Wl,-z,relro,-z,now"
%configure \
%{?with_sasl: --enable-sasl} \
%{?with_seccomp: --enable-seccomp}