[Pkg-wmaker-commits] [wmfrog] 134/145: debian/rules: Update override_dh_auto_build target to remove hack that passed CPPFLAGS and LDFLAGS via CFLAGS as upstream Makefile now handles these build flags properly. Use dpkg-buildflags for CFLAGS.

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


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

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

commit 68d6e4f1ea2b47b233ffaccc1e240fefc4fcc85b
Author: Doug Torrance <dtorrance at monmouthcollege.edu>
Date:   Fri Jan 2 18:58:40 2015 -0600

    debian/rules: Update override_dh_auto_build target to remove hack that
    passed CPPFLAGS and LDFLAGS via CFLAGS as upstream Makefile now handles
    these build flags properly.  Use dpkg-buildflags for CFLAGS.
---
 debian/rules | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index a3de536..49e25e8 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,7 +5,7 @@
 
 override_dh_auto_build:
 	dh_auto_build --sourcedirectory=Src \
-		-- CFLAGS="$(CFLAGS) $(CPPFLAGS) $(LDFLAGS)"
+		-- CFLAGS="$(shell dpkg-buildflags --get CFLAGS)"
 
 get-orig-source:
 	@git checkout upstream

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



More information about the Pkg-wmaker-commits mailing list