summaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 20:22:37 +0200
committerJörg Frings-Fürst <debian@jff-webhosting.net>2018-08-05 20:22:37 +0200
commit6ad7a37a24ed6e91c9a3d708c09e18bc56587c8a (patch)
tree67399caba7ddb6a4eda2d6ad531c1af1aeff39bf /debian/rules
parent980200c79d4e24c314d54378ef44c6a34384a5bf (diff)
fix missing CFLAGS and LDFLAGS
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules3
1 files changed, 3 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index a0cbc4d..6699560 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,9 @@
#!/usr/bin/make -f
export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -fPIE
+export DEB_LDFLAGS_MAINT_APPEND = -fPIE -pie
+
include /usr/share/dpkg/architecture.mk
ifeq ($(origin CC),default)