[cookietool] 06/08: Remove manual handling of hardening build flags. Just use the default values.
Markus Koschany
apo at moszumanska.debian.org
Thu Sep 15 18:56:17 UTC 2016
This is an automated email from the git hooks/post-receive script.
apo pushed a commit to branch master
in repository cookietool.
commit 40ee0978089410718e49c7854c3479b0c79dce6d
Author: Markus Koschany <apo at debian.org>
Date: Thu Sep 15 20:48:18 2016 +0200
Remove manual handling of hardening build flags. Just use the default values.
---
debian/rules | 22 ++--------------------
1 file changed, 2 insertions(+), 20 deletions(-)
diff --git a/debian/rules b/debian/rules
index 36911ac..83fc449 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,24 +1,8 @@
#!/usr/bin/make -f
# debhelper config file for cookietool, the fortune database maintenance suite
-CPPFLAGS= $(shell dpkg-buildflags --get CPPFLAGS)
-CFLAGS= $(shell dpkg-buildflags --get CFLAGS)
-LDFLAGS= $(shell dpkg-buildflags --get LDFLAGS)
-
-CFLAGS+= -Wall -W -ansi -pedantic -Wbad-function-cast \
- -Wcast-align -Wcast-qual -Wchar-subscripts -Winline \
- -Wmissing-prototypes -Wnested-externs -Wpointer-arith \
- -Wredundant-decls -Wshadow -Wstrict-prototypes -Wwrite-strings
-ifneq (,$(filter werror,$(DEB_BUILD_OPTIONS)))
- CFLAGS+= -Werror
-endif
-
-ifeq (,$(filter nohardening,$(DEB_BUILD_OPTIONS)))
-CFLAGS+= $(HARDENING_CFLAGS)
-LDFLAGS+= $(HARDENING_LDFLAGS)
-endif
-
-export CFLAGS CPPFLAGS LDFLAGS
+%:
+ dh $@
override_dh_auto_build:
dh_auto_build
@@ -26,5 +10,3 @@ override_dh_auto_build:
/^[0-9]/ && !/^[0-9]+\..*History/ { disp = 0 } \
{ if (disp) { print } }' README > Changes
-%:
- dh $@
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/cookietool.git
More information about the Pkg-games-commits
mailing list