[opensaml2] 17/24: The build system now links with the needed libraries only
Ferenc Wágner
wferi at moszumanska.debian.org
Tue Aug 30 20:55:03 UTC 2016
This is an automated email from the git hooks/post-receive script.
wferi pushed a commit to branch debian/experimental
in repository opensaml2.
commit 22eb9d910a68b43cd18b267a73996cbe6ba2b31e
Author: Ferenc Wágner <wferi at niif.hu>
Date: Mon Jul 11 13:49:22 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 | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/debian/rules b/debian/rules
index aa0c483..e76efd4 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,9 +4,8 @@
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
# Force linking with -lpthread, working around a bug in libtool that drops
-# the linkage because it uses -nostdlib. See #468555. Add --as-needed to
-# drop a few unnecessary dependencies.
-export DEB_LDFLAGS_MAINT_APPEND = -lpthread -Wl,--as-needed
+# the linkage because it uses -nostdlib. See #468555.
+export DEB_LDFLAGS_MAINT_APPEND = -lpthread
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
DEBUG = --enable-debug
@@ -27,6 +26,3 @@ override_dh_install:
override_dh_installdocs:
dh_installdocs -A doc/NOTICE.txt doc/README.txt
-
-override_dh_autoreconf:
- dh_autoreconf --as-needed
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-shibboleth/opensaml2.git
More information about the Pkg-shibboleth-devel
mailing list