[cpp-sp] 06/09: Build with --as-needed to drop some unnecessary dependencies
Scott Cantor
cantor.2 at osu.edu
Thu Dec 20 19:45:37 EST 2018
This is an automated email from the git hooks/post-receive script.
scantor pushed a commit to annotated tag debian/2.4.3+dfsg-4
in repository cpp-sp.
View the commit online:
http://git.shibboleth.net/view/?p=cpp-sp.git;a=commit;h=39f094d04885d32c6d3e2d02a6ad045eb5c63336
commit 39f094d04885d32c6d3e2d02a6ad045eb5c63336
Author: Russ Allbery <rra at debian.org>
AuthorDate: Wed Feb 1 23:14:38 2012 -0800
Build with --as-needed to drop some unnecessary dependencies
---
debian/rules | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/debian/rules b/debian/rules
index b31afbe..c1954ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+# 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)
DOCS = debian/libshibsp-doc/usr/share/doc/libshibsp-doc
@@ -32,6 +35,9 @@ get-orig-source:
rm -rf shibboleth-sp2_$(DEBVERS).orig
gzip -9 shibboleth-sp2_$(DEBVERS).orig.tar
+override_dh_autoreconf:
+ dh_autoreconf --as-needed
+
override_dh_auto_configure:
dh_auto_configure -- \
--libexecdir=/usr/lib/$(DEB_HOST_MULTIARCH)/shibboleth \
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the commits
mailing list