[Pkg-wmaker-commits] [wmcdplay] 11/79: debian/rules: Pass environment variables to make to build using c++ and enable hardening.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Thu Aug 20 11:04:29 UTC 2015


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

dtorrance-guest pushed a commit to branch master
in repository wmcdplay.

commit 75d3e45d87e7d1f637a34d3b96b601ff04801b89
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Jul 29 12:09:33 2014 -0500

    debian/rules: Pass environment variables to make to build using c++ and enable hardening.
---
 debian/changelog | 1 +
 debian/rules     | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index 0da74c7..3c172b6 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -12,6 +12,7 @@ wmcdplay (1.0beta1-12) unstable; urgency=low
     - New file.
   * debian/rules
     - Simplify to use dh.
+    - Pass CXXFLAGS and LDFLAGS to make to enable hardening.
 
  -- Doug Torrance <dtorrance at monmouthcollege.edu>  Tue, 29 Jul 2014 09:11:19 -0500
 
diff --git a/debian/rules b/debian/rules
index 4755ddf..6e0bb6b 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,3 +5,6 @@
 
 override_dh_auto_configure:
 	xmkmf
+
+override_dh_auto_build:
+	dh_auto_build -- CC=c++ CXXOPTIONS="$(CXXFLAGS)" LDOPTIONS="$(LDFLAGS)"

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-wmaker/wmcdplay.git



More information about the Pkg-wmaker-commits mailing list