[X2Go-Commits] [nx-libs] 18/19: Support hardened builds for nxagent and libNX_*.so files.

git-admin at x2go.org git-admin at x2go.org
Wed Jan 28 19:43:17 CET 2015


This is an automated email from the git hooks/post-receive script.

x2go pushed a commit to branch master
in repository nx-libs.

commit 3c7c3b7f4e352f9afd0db1a6f62060b7d03013f3
Author: Mike Gabriel <mike.gabriel at das-netzwerkteam.de>
Date:   Wed Jan 28 18:21:44 2015 +0100

    Support hardened builds for nxagent and libNX_*.so files.
---
 debian/changelog |    1 +
 debian/rules     |    2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 60d1a90..3ba82f4 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 acef66c..a4f9257 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

--
Alioth's /srv/git/_hooks_/post-receive-email on /srv/git/code.x2go.org/nx-libs.git


More information about the x2go-commits mailing list