[SCM] Debian packaging for XMLTooling-C branch, master, updated. debian/1.4.2-1-10-g9b4021e
Russ Allbery
rra at debian.org
Thu Jan 26 21:12:33 UTC 2012
The following commit has been merged in the master branch:
commit 5565e2f6925bc58eb95eed84b789ebd78999083f
Author: Russ Allbery <rra at debian.org>
Date: Thu Jan 26 02:39:33 2012 -0800
Add --as-needed to the linker flags
diff --git a/debian/changelog b/debian/changelog
index a311626..e19ebdb 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -3,6 +3,7 @@ xmltooling (1.4.2-2) unstable; urgency=low
* Update to debhelper compatibility level V9.
- Enable hardening build flags. (Closes: #656656)
- Enable multiarch support.
+ * Add --as-needed to the linker flags.
* Use the latest directory in debian/watch instead of the versioned
directories.
* Update the upstream homepage.
diff --git a/debian/rules b/debian/rules
index 77718d6..a943932 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
# Enable compiler hardening flags.
export DEB_BUILD_MAINT_OPTIONS = all
+# Suppress unnecessary library dependencies.
+export DEB_MAINT_LDFLAGS_APPEND = --as-needed
+
DOCS = debian/libxmltooling-doc/usr/share/doc/libxmltooling-doc
ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))
--
Debian packaging for XMLTooling-C
More information about the Pkg-shibboleth-devel
mailing list