[Pkg-wmaker-commits] [wmcube] 35/67: debian/rules: Add override_dh_auto_build target to pass CFLAGS from dpkg-buildflags.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 03:22:17 UTC 2015


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

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

commit a5a51be71d6afa7beaba2f66e69d3aabceb3eac7
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Tue Jan 13 07:20:45 2015 -0600

    debian/rules: Add override_dh_auto_build target to pass CFLAGS from
    dpkg-buildflags.
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 24aeb71..adda8c3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,5 +3,9 @@
 %:
 	dh $@ --sourcedirectory=wmcube
 
+override_dh_auto_build:
+	dh_auto_build --sourcedirectory=wmcube -- \
+		CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+
 get-orig-source:
 	uscan --verbose --force-download --rename

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



More information about the Pkg-wmaker-commits mailing list