[Pkg-javascript-commits] [node-expat] 180/371: Fix resolve and apply security hardening build flags.

Jonas Smedegaard dr at jones.dk
Sun Feb 28 10:00:00 UTC 2016


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

js pushed a commit to branch master
in repository node-expat.

commit 71dd704575a3ead3d995061425d896c14753bde8
Author: Jonas Smedegaard <dr at jones.dk>
Date:   Fri Jun 22 20:06:29 2012 +0200

    Fix resolve and apply security hardening build flags.
---
 debian/rules | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 4793713..6556a19 100755
--- a/debian/rules
+++ b/debian/rules
@@ -18,6 +18,7 @@
 
 -include /usr/share/cdbs/1/rules/upstream-tarball.mk
 include /usr/share/cdbs/1/rules/utils.mk
+include /usr/share/cdbs/1/class/langcore.mk
 include /usr/share/cdbs/1/rules/debhelper.mk
 
 libpkgname = node-node-expat
@@ -39,11 +40,12 @@ DEB_UPSTREAM_TARBALL_MD5 = fd5669799856e52b3d35c55a8795a3c7
 DEB_INSTALL_DOCS_$(libpkgname) += README.markdown
 
 # node-waf build routines
+NODE-WAF-BUILDFLAGS = CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" CPPFLAGS="$(CPPFLAGS)" LINKFLAGS="$(LDFLAGS)"
 NODE-WAF = NOCOLOR=1 NODE_PATH=$(cdbs_curdestdir)usr/lib/nodejs node-waf -v
 NODE = NODE_DISABLE_COLORS=1 node
 configure/$(libpkgname):: debian/stamp-node-waf-configure
 debian/stamp-node-waf-configure:
-	$(NODE-WAF) configure
+	$(NODE-WAF-BUILDFLAGS) $(NODE-WAF) configure
 	touch $@
 build/$(libpkgname):: debian/stamp-node-waf-build
 debian/stamp-node-waf-build:

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-javascript/node-expat.git



More information about the Pkg-javascript-commits mailing list