[ace-of-penguins] 115/141: debian/rules: Simplify hardened build flags

Markus Koschany apo-guest at moszumanska.debian.org
Wed Jan 6 13:55:05 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 ebca3f0fb81b036d49fb6c8f7f464bf36bf918db
Author: Jari Aalto <jari.aalto at cante.net>
Date:   Tue Jul 2 12:19:24 2013 +0300

    debian/rules: Simplify hardened build flags
---
 debian/rules | 14 +++-----------
 1 file changed, 3 insertions(+), 11 deletions(-)

diff --git a/debian/rules b/debian/rules
index 37d73b1..ecbdc8b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -20,17 +20,9 @@ PROGS = \
  taipei \
  thornq
 
-CPPFLAGS = $(shell \
-    DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CPPFLAGS)
-
-CFLAGS = -Wall $(shell \
-    DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get CFLAGS)
-
-LDFLAGS = -Wl,--as-needed -Wl,-z,now $(shell \
-    DEB_BUILD_MAINT_OPTIONS=hardening=+all dpkg-buildflags --get LDFLAGS)
-
-cc := $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
-
+CFLAGS  += -D_FILE_OFFSET_BITS=64
+LDFLAGS += -Wl,--as-needed
+cc      := $(CC) $(CFLAGS) $(CPPFLAGS) $(LDFLAGS)
 
 CONFFLAGS = --prefix=/usr --bindir=/usr/games
 

-- 
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