[ace-of-penguins] 74/141: debian/rules: Use hardened CFLAGS
Markus Koschany
apo-guest at moszumanska.debian.org
Wed Jan 6 13:54:58 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo-guest pushed a commit to branch master
in repository ace-of-penguins.
commit 6808770b691fdd9b1a7128db5a780dd74de2d848
Author: Jari Aalto <jari.aalto at cante.net>
Date: Mon Feb 6 15:59:28 2012 +0200
debian/rules: Use hardened CFLAGS
---
debian/rules | 8 ++++++--
1 file changed, 6 insertions(+), 2 deletions(-)
diff --git a/debian/rules b/debian/rules
index 05d69d7..6cc66d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -23,7 +23,11 @@ PROGS = \
CONFFLAGS = --prefix=/usr --bindir=/usr/games
include debian/debian-vars.mk
-include debian/debian-compile.mk
+
+# NOTE: The sources won't compile with -pedantic
+include /usr/share/dpkg/buildflags.mk
+CFLAGS += -Wall
+LDFLAGS += -Wl,--as-needed
MANDIR = $(MANROOTDIR)/man6
@@ -79,7 +83,7 @@ override_dh_clean: clean-man
dh_clean
override_dh_auto_configure:
- ./configure $(CONFFLAGS)
+ ./configure $(CONFFLAGS) CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)"
override_dh_auto_build: build-man
# # Compile the package
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/ace-of-penguins.git
More information about the Pkg-games-commits
mailing list