[Pkg-wmaker-commits] [wmget] 16/41: debian/rules: Add override_dh_auto_build target to use CFLAGS and LDFLAGS from dpkg-buildflags.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Sun Aug 23 17:05:59 UTC 2015


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

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

commit fb3d2fb1094afbd987d57d2eda6e4002922932ae
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sun Jan 25 05:54:18 2015 -0600

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

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

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



More information about the Pkg-wmaker-commits mailing list