[oclgrind] 01/02: Pass --as-needed to linker to avoid useless dependencies.

James Price jprice-guest at moszumanska.debian.org
Wed Sep 9 00:47:58 UTC 2015


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

jprice-guest pushed a commit to branch master
in repository oclgrind.

commit 913ed64358c64354e1f3b90e0bb39171d1f4628f
Author: James Price <j.price at bristol.ac.uk>
Date:   Tue Sep 8 23:30:50 2015 +0100

    Pass --as-needed to linker to avoid useless dependencies.
---
 debian/rules | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/rules b/debian/rules
index d36bbc3..17656da 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,8 @@
 # Uncomment this to turn on verbose mode.
 #export DH_VERBOSE=1
 
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 DPKG_EXPORT_BUILDFLAGS = 1
 include /usr/share/dpkg/default.mk
 

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



More information about the Pkg-opencl-commits mailing list