[mupen64plus-ui-console] 31/172: Set *FLAGS using dpkg-buildflags in debian/rules
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:07:26 UTC 2015
This is an automated email from the git hooks/post-receive script.
ecsv-guest pushed a commit to branch armhf_test
in repository mupen64plus-ui-console.
commit 772e348116582da48efc2e97b800dc6b6ac3e2b8
Author: Sven Eckelmann <sven.eckelmann at gmx.de>
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 0ecb1bd..1bd2403 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ mupen64plus-ui-console (1.99.4~hg20100403-1) UNRELEASED; urgency=low
- Remove unneeded build dependency to quilt
* 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 <sven.eckelmann at gmx.de> Mon, 15 Feb 2010 18:40:00 +0100
diff --git a/debian/rules b/debian/rules
index 7d78a8a..8489994 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)
DEB_HOST_ARCH_OS ?= $(shell dpkg-architecture -qDEB_HOST_ARCH_OS)
MAKEOPTIONS = V=1 UNAME='$(DEB_HOST_ARCH_OS)' HOST_CPU='$(DEB_HOST_GNU_CPU)' APIDIR=/usr/include/mupen64plus/ DEBUG=1 PREFIX=/usr/ MANDIR=/usr/share/man/man6/ BINDIR=/usr/games/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-ui-console.git
More information about the Pkg-games-commits
mailing list