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

ecsv-guest pushed a commit to branch master
in repository mupen64plus.

commit 83907e8254d56fe431b29367e21b429b176b8f7b
Author: Sven Eckelmann <[email protected]>
Date:   Wed Sep 8 13:57:53 2010 +0200

    Set *FLAGS using dpkg-buildflags in debian/rules
---
 debian/changelog | 2 ++
 debian/rules     | 5 +++++
 2 files changed, 7 insertions(+)

diff --git a/debian/changelog b/debian/changelog
index eecdb8d..790568e 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -2,6 +2,8 @@ mupen64plus (1.5+dfsg1-14) UNRELEASED; urgency=low
 
   * Upgraded to policy 3.9.1, no changes required
   * Upgrade debhelper compat to v8
+  * set *FLAGS using dpkg-buildflags in debian/rules to work like
+    dpkg-buildpackage when called directly
 
  -- Sven Eckelmann <[email protected]>  Mon, 26 Jul 2010 14:22:39 +0200
 
diff --git a/debian/rules b/debian/rules
index 9ba5dc0..5a6ded9 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,11 @@
 #!/usr/bin/make -f
 # -*- makefile -*-
 
+export CFLAGS=$(shell dpkg-buildflags --get CFLAGS)
+export CPPFLAGS=$(shell dpkg-buildflags --get CPPFLAGS)
+export CXXFLAGS=$(shell dpkg-buildflags --get CXXFLAGS)
+export LDFLAGS=$(shell dpkg-buildflags --get LDFLAGS)
+
 DEB_HOST_GNU_CPU ?= $(shell dpkg-architecture -qDEB_HOST_GNU_CPU)
 MAKEOPTIONS = UNAME='$(DEB_HOST_GNU_CPU)' DBGSYM=1 DBG=1 PREFIX=/usr/ 
LIBDIR=/usr/lib/mupen64plus/ BINDIR=/usr/games/
 

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

_______________________________________________
Pkg-games-commits mailing list
[email protected]
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-games-commits

Reply via email to