[mupen64plus-rsp-hle] 33/167: Set *FLAGS using dpkg-buildflags in debian/rules

Sven Eckelmann ecsv-guest at moszumanska.debian.org
Thu Nov 26 06:02:18 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-rsp-hle.

commit a6e83e7e1f09a31c26b5e37d3a34405eb276e140
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 b2d5798..853a4f1 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -25,6 +25,8 @@ mupen64plus-rsp-hle (1.99.4~hg20100511-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 34a6ab9..713473f 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-rsp-hle.git



More information about the Pkg-games-commits mailing list