override the -znow from hardened builds

That addresses issue with guile modules
This commit is contained in:
Nikos Mavrogiannopoulos 2015-03-20 10:27:16 +01:00
parent a5703fdf28
commit 6a2affd47e

View File

@ -146,6 +146,10 @@ sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spe
%build
# this overrides the -znow from hardened builds.
CFLAGS="$RPM_OPT_FLAGS -Wl,-z,lazy"
export CFLAGS
%configure --with-libtasn1-prefix=%{_prefix} \
--with-included-libcfg \
--disable-static \