[Pkg-wmaker-commits] [wmgtemp] 29/45: debian/rules: Add override_dh_auto_build target to use CFLAGS and LDFLAGS from dpkg-buildflags.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Tue Aug 25 02:58:06 UTC 2015


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

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

commit b169a667e75ebf1d64e6573894b559b9c0d9e2a3
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Sat Jan 31 02:10:49 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 bbaeb55..e9430a0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,10 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)" \
+		LDFLAGS="$(shell dpkg-buildflags --get LDFLAGS)"
+
 override_dh_auto_install:
 	dh_auto_install -- INSTDIR=/usr/bin MANINSTDIR=/usr/share/man/man1
 

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



More information about the Pkg-wmaker-commits mailing list