aboutsummaryrefslogtreecommitdiff
path: root/debian/rules
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 23:47:49 +0200
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2016-07-05 23:47:49 +0200
commit67f937c4a614aa789754af51515388d30278da81 (patch)
tree84cb6728d954539b2ff6099f9fe625887e6a3f96 /debian/rules
parentd7655e15ad28ad7f6a326624f90764485d3c2e35 (diff)
downloadnx-libs-67f937c4a614aa789754af51515388d30278da81.tar.gz
nx-libs-67f937c4a614aa789754af51515388d30278da81.tar.bz2
nx-libs-67f937c4a614aa789754af51515388d30278da81.zip
debian/rules: Enable -fPIE / -pie hardening support for nxagent and nxproxy.
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/debian/rules b/debian/rules
index 766042fee..219cd0b6c 100755
--- a/debian/rules
+++ b/debian/rules
@@ -2,7 +2,7 @@
NULL =
-export DEB_BUILD_MAINT_OPTIONS = hardening=+bindnow
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all
DPKG_EXPORT_BUILDFLAGS = 1
include /usr/share/dpkg/buildflags.mk
@@ -52,7 +52,7 @@ override_dh_auto_install:
override_dh_auto_build:
- PREFIX=/usr dh_auto_build --parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS="$(LDFLAGS)" SHLIBDIR="$(LIBDIR)"
+ PREFIX=/usr dh_auto_build --parallel -- CDEBUGFLAGS="$(CPPFLAGS) $(CFLAGS)" LOCAL_LDFLAGS="$(LDFLAGS)" SHLIBGLOBALSFLAGS='$(filter-out -pie,$(LDFLAGS))' SHLIBDIR="$(LIBDIR)"
override_dh_strip:
dh_strip -plibnx-x11-6 --dbg-package=libnx-x11-6-dbg