[Pkg-wmaker-commits] [wmfrog] 65/145: debian/rules: hardened CFLAGS
Doug Torrance
dtorrance-guest at moszumanska.debian.org
Sun Aug 23 05:46:24 UTC 2015
This is an automated email from the git hooks/post-receive script.
dtorrance-guest pushed a commit to branch master
in repository wmfrog.
commit 91fa654d52a9d46efe5331502e1e1eff076d96ba
Author: Jari Aalto <jari.aalto at cante.net>
Date: Wed Feb 15 06:21:44 2012 -0500
debian/rules: hardened CFLAGS
---
debian/rules | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/debian/rules b/debian/rules
index f4925cc..a49d91e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,11 @@
PACKAGE = wmfrog
MAKEOPT = -C Src
+include /usr/share/dpkg/buildflags.mk
+CFLAGS += -Wall -pedantic
+LDFLAGS += -Wl,--as-needed
+export CFLAGS LDFLAGS
+
include debian/debian-vars.mk
man:
@@ -10,7 +15,7 @@ man:
$(MAKE) -C debian -f pod2man.mk PACKAGE=$(PACKAGE) makeman
override_dh_auto_build: man
- $(MAKE) $(MAKEOPT)
+ $(MAKE) $(MAKEOPT) CFLAGS="$(CFLAGS) $(LDFLAGS)"
override_dh_auto_clean:
[ ! Src/Makefile ] || $(MAKE) $(MAKEOPT) clean
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmfrog.git
More information about the Pkg-wmaker-commits
mailing list