[mupen64plus-video-rice] 31/191: Set *FLAGS using dpkg-buildflags in debian/rules
Sven Eckelmann
ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:17:13 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-video-rice.
commit 896261d677ce6e1184826a94813e41373b1e3222
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 2184f4a..e368675 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -26,6 +26,8 @@ mupen64plus-video-rice (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 46f561f..252794b 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/
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-games/mupen64plus-video-rice.git
More information about the Pkg-games-commits
mailing list