aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-28 18:21:44 +0100
committerMike Gabriel <mike.gabriel@das-netzwerkteam.de>2015-01-28 18:21:44 +0100
commit3c7c3b7f4e352f9afd0db1a6f62060b7d03013f3 (patch)
treebb3046a73217d1e1081ffade2c7623de577cd1fb
parentf0f1df262b6e12f1f3393627dafa8fd1a372b814 (diff)
downloadnx-libs-3c7c3b7f4e352f9afd0db1a6f62060b7d03013f3.tar.gz
nx-libs-3c7c3b7f4e352f9afd0db1a6f62060b7d03013f3.tar.bz2
nx-libs-3c7c3b7f4e352f9afd0db1a6f62060b7d03013f3.zip
Support hardened builds for nxagent and libNX_*.so files.
-rw-r--r--debian/changelog1
-rwxr-xr-xdebian/rules2
2 files changed, 2 insertions, 1 deletions
diff --git a/debian/changelog b/debian/changelog
index 60d1a90ea..3ba82f413 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -49,6 +49,7 @@ nx-libs (2:3.5.0.29-0x2go2) UNRELEASED; urgency=medium
+ Add Multi-Arch support for Debian based distro versions that
support Multi-Arch.
+ Support hardened builds for nxcomp* libraries.
+ + Support hardened builds for nxagent and libNX_*.so files.
* debian/rules:
+ Backup nxcomp/VERSION file from NoMachine before replacing it with
diff --git a/debian/rules b/debian/rules
index acef66c76..a4f9257ff 100755
--- a/debian/rules
+++ b/debian/rules
@@ -132,7 +132,7 @@ override_dh_auto_build:
cp -av .preserve/* .
rm -Rf .preserve/
- SHLIBDIR=$(LIBDIR) PREFIX=/usr dh_auto_build --parallel
+ LOCAL_LDFLAGS=$(LDFLAGS) SHLIBGLOBALSFLAGS=$(LDFLAGS) SHLIBDIR=$(LIBDIR) PREFIX=/usr dh_auto_build --parallel
override_dh_strip:
dh_strip -plibnx-x11-6 --dbg-package=libnx-x11-6-dbg