From b5d1a44c8a6b401ec6d23ed849ed733f192292e4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=B6rg=20Frings-F=C3=BCrst?= Date: Sun, 5 Aug 2018 00:15:11 +0200 Subject: fix missing CXXFLAGS and LDFLAGS --- debian/changelog | 6 +++++- debian/rules | 2 ++ 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/debian/changelog b/debian/changelog index 1e95ec6..aced019 100644 --- a/debian/changelog +++ b/debian/changelog @@ -3,8 +3,12 @@ bitz-server (2.0.1-1) unstable; urgency=medium * New upstream release: - Remove upstream applied patches 0600-man_page_spelling.patch and 0100-spelling.patch + * debian/rules: + - Add "export DEB_CXXFLAGS_MAINT_APPEND = -fPIE" and + "export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie" to fix missing CXXFLAGS + and LDFLAGS. - -- Jörg Frings-Fürst Fri, 03 Aug 2018 19:34:54 +0200 + -- Jörg Frings-Fürst Sun, 05 Aug 2018 00:14:26 +0200 bitz-server (2.0.0-1) unstable; urgency=medium diff --git a/debian/rules b/debian/rules index 8e8a98a..14b3671 100755 --- a/debian/rules +++ b/debian/rules @@ -5,6 +5,8 @@ #export DH_VERBOSE=1 export DEB_BUILD_MAINT_OPTIONS = hardening=+all +export DEB_CXXFLAGS_MAINT_APPEND = -fPIE +export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie VERSION = $(shell head -n1 debian/changelog | sed -e 's/.*(//;s/-.*).*//;s/\+/\-/') -- cgit v1.2.3