From 6a2affd47e6fcb0b8ae344840adc3fe63e227203 Mon Sep 17 00:00:00 2001 From: Nikos Mavrogiannopoulos Date: Fri, 20 Mar 2015 10:27:16 +0100 Subject: [PATCH] override the -znow from hardened builds That addresses issue with guile modules --- gnutls.spec | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gnutls.spec b/gnutls.spec index dae622d..1477fc9 100644 --- a/gnutls.spec +++ b/gnutls.spec @@ -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 \