[shibboleth-sp2] 07/17: The build system now links with the needed libraries only

Ferenc Wágner wferi at moszumanska.debian.org
Thu Sep 1 09:29:34 UTC 2016


This is an automated email from the git hooks/post-receive script.

wferi pushed a commit to branch debian/experimental
in repository shibboleth-sp2.

commit 54944c3b0fa70e7ad489c929f008998b66e2a266
Author: Ferenc Wágner <wferi at niif.hu>
Date:   Mon Jul 18 16:55:41 2016 +0200

    The build system now links with the needed libraries only
    
    Separating the discovered dependency libraries into specific variables
    instead of putting everything into LIBS made the --as-needed linker
    options superfluous.
---
 debian/rules | 6 ------
 1 file changed, 6 deletions(-)

diff --git a/debian/rules b/debian/rules
index d012978..c34bac2 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,9 +3,6 @@
 # Enable compiler hardening flags.
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
-# Add --as-needed to drop a few unnecessary dependencies.
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
-
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
@@ -29,9 +26,6 @@ get-orig-source:
 %:
 	dh $@ --parallel --with apache2,autoreconf
 
-override_dh_autoreconf:
-	dh_autoreconf --as-needed
-
 override_dh_auto_configure:
 	dh_auto_configure -- \
 	    --enable-apache-24 --with-apxs24=/usr/bin/apxs2 \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/shibboleth-sp2.git



More information about the Pkg-shibboleth-devel mailing list