[pocl] 03/06: reduce superfluous dependencies by linking with --as-needed

Andreas Beckmann anbe at moszumanska.debian.org
Mon Oct 10 12:09:21 UTC 2016


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

anbe pushed a commit to branch master
in repository pocl.

commit 9d8fe95aa3a12ecdb6c8a299097ca99a51b4a82a
Author: Andreas Beckmann <anbe at debian.org>
Date:   Mon Oct 10 12:21:58 2016 +0200

    reduce superfluous dependencies by linking with --as-needed
---
 debian/changelog | 1 +
 debian/rules     | 4 ++--
 2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 96599c6..ecd942d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
 pocl (0.13-8) UNRELEASED; urgency=medium
 
   * Enable more hardening.
+  * Reduce superfluous dependencies by linking with --as-needed.
   * Update symbols files.
 
  -- Andreas Beckmann <anbe at debian.org>  Sun, 09 Oct 2016 22:38:59 +0200
diff --git a/debian/rules b/debian/rules
index eddabbf..adde17c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,7 +18,7 @@ export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 # package maintainers to append CFLAGS
 #export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
 # package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 export DEB_HOST_MULTIARCH
 DEB_HOST_ARCH?=$(shell dpkg-architecture -qDEB_HOST_ARCH)
@@ -52,7 +52,7 @@ ifeq ($(LLVM_ARCH),)
 endif
 	@echo Using LLC_HOST_CPU=$${LLC_HOST_CPU}
 	-/usr/lib/llvm-$(LLVM_VERSION)/bin/llc -mattr=help
-	dh_autoreconf autoreconf -- -vif -Wall -Wno-obsolete
+	dh_autoreconf --as-needed autoreconf -- -vif -Wall -Wno-obsolete
 
 override_dh_auto_configure:
 	dh_auto_configure -- --enable-icd --disable-static \

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/collab-maint/pocl.git



More information about the Pkg-opencl-commits mailing list