[med-fichier] 10/17: Add -Wl,--as-needed

Christophe Trophime trophime-guest at moszumanska.debian.org
Tue Jan 28 10:40:36 UTC 2014


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

trophime-guest pushed a commit to branch master
in repository med-fichier.

commit 220762245ae2dd901c0351dfffdbb3c1edeaf89c
Author: Christophe Trophime <christrophime at googlemail.com>
Date:   Mon Sep 30 08:59:17 2013 +0200

    Add -Wl,--as-needed
---
 debian/rules | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/debian/rules b/debian/rules
index e6503b4..9bb5cdd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,6 +11,9 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
+export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
+export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+
 CFLAGS = -Wall -g
 
 ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS)))

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/med-fichier.git



More information about the debian-science-commits mailing list