[Pkg-wmaker-commits] [wmsun] 55/73: debian/rules: Add override_dh_auto_build target to pass CFLAGS from dpkg-buildflags.

Doug Torrance dtorrance-guest at moszumanska.debian.org
Fri Aug 28 12:04:48 UTC 2015


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

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

commit 1f311df93495c4d1380c815fc564e51ed9ae94c9
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Mon Jun 15 07:29:16 2015 -0500

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

diff --git a/debian/rules b/debian/rules
index dd65997..6f181d7 100755
--- a/debian/rules
+++ b/debian/rules
@@ -3,6 +3,9 @@
 %:
 	dh $@
 
+override_dh_auto_build:
+	dh_auto_build -- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
+
 override_dh_auto_install:
 	dh_auto_install -- PREFIX=/usr
 

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



More information about the Pkg-wmaker-commits mailing list