[hyphen] 01/05: include /usr/share/dpkg/architecture.mk and buildflags.mk instead of setting stuff manually

Rene Engelhard rene at moszumanska.debian.org
Tue Sep 13 02:51:36 UTC 2016


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

rene pushed a commit to branch master
in repository hyphen.

commit 146023d1f7d1df612df61ef14345a66389938186
Author: Rene Engelhard <rene at rene-engelhard.de>
Date:   Tue Sep 6 00:17:46 2016 +0200

    include /usr/share/dpkg/architecture.mk and buildflags.mk instead of setting stuff manually
---
 debian/rules | 9 ++-------
 1 file changed, 2 insertions(+), 7 deletions(-)

diff --git a/debian/rules b/debian/rules
index 54eb28b..e4f9dfd 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,13 +2,8 @@
 
 export DH_VERBOSE=1
 
-# These are used for cross-compiling and for saving the configure script
-# from having to guess our platform (since we know it already)
-DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
-DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
-
-export DEB_BUILD_MAINT_OPTIONS := hardening=+all
-export DEB_LDFLAGS_MAINT_APPEND := -Wl,-z,defs
+include /usr/share/dpkg/architecture.mk
+include /usr/share/dpkg/buildflags.mk
 
 %:
 	dh $@ --parallel --with autoreconf

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-openoffice/hyphen.git



More information about the Pkg-openoffice-commits mailing list