[gnutls] Removed -Wl,--no-add-needed linker flag

Nikos Mavrogiannopoulos nmav at fedoraproject.org
Thu Mar 19 12:27:41 UTC 2015


commit a5703fdf28fbe89a9abde4e80decbc51c415c4c8
Author: Nikos Mavrogiannopoulos <nmav at redhat.com>
Date:   Thu Mar 19 13:27:35 2015 +0100

    Removed -Wl,--no-add-needed linker flag

 gnutls.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/gnutls.spec b/gnutls.spec
index 43fc7f4..dae622d 100644
--- a/gnutls.spec
+++ b/gnutls.spec
@@ -146,8 +146,6 @@ sed -i -e 's|sys_lib_dlsearch_path_spec="/lib /usr/lib|sys_lib_dlsearch_path_spe
 
 %build
 
-export LDFLAGS="-Wl,--no-add-needed"
-
 %configure --with-libtasn1-prefix=%{_prefix} \
            --with-included-libcfg \
            --disable-static \
@@ -271,6 +269,7 @@ fi
 %changelog
 * Fri Mar  6 2015 Nikos Mavrogiannopoulos <nmav at redhat.com> 3.3.13-3
 - Build with hardened flags
+- Removed -Wl,--no-add-needed linker flag
 
 * Fri Feb 27 2015 Till Maas <opensource at till.name> - 3.3.13-2
 - Do not build with hardened flags


More information about the scm-commits mailing list