summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 00:15:11 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 00:15:11 +0200
commitb5d1a44c8a6b401ec6d23ed849ed733f192292e4 (patch)
treeb13da2036031c7811f41dd7874b80d871b93f570
parentdbeb566eed5085782944dc4f2d47f9a8ba3fed28 (diff)
fix missing CXXFLAGS and LDFLAGS
-rw-r--r--debian/changelog6
-rwxr-xr-xdebian/rules2
2 files changed, 7 insertions, 1 deletions
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 <debian@jff.email> Fri, 03 Aug 2018 19:34:54 +0200
+ -- Jörg Frings-Fürst <debian@jff.email> 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/\+/\-/')