[libmpikmeans] 16/29: Do not manually export build flags, let buildflags.mk do it
Christian Kastner
chrisk-guest at moszumanska.debian.org
Mon Aug 25 21:20:01 UTC 2014
This is an automated email from the git hooks/post-receive script.
chrisk-guest pushed a commit to branch master
in repository libmpikmeans.
commit bc1cd1943068fbf7d040a0682bcc321e0566614d
Author: Christian Kastner <debian at kvr.at>
Date: Sun Mar 2 11:27:43 2014 +0100
Do not manually export build flags, let buildflags.mk do it
---
debian/rules | 10 ++++++----
1 file changed, 6 insertions(+), 4 deletions(-)
diff --git a/debian/rules b/debian/rules
index 8ac65aa..a36e835 100755
--- a/debian/rules
+++ b/debian/rules
@@ -15,10 +15,12 @@ export LSUBVER
PYVERS = $(shell pyversions -r -v)
export PYVERS
-# We override dh_auto_build, so we need to set these
-export CFLAGS += $(shell dpkg-buildflags --get CFLAGS) -Wall -Wno-unused
-export LDFLAGS += $(shell dpkg-buildflags --get LDFLAGS)
-export CPPFLAGS += $(shell dpkg-buildflags --get CPPFLAGS)
+# Export CFLAGS, CPPFLAGS, and LDFLAGS from dpkg
+DPKG_EXPORT_BUILDFLAGS = 1
+include /usr/share/dpkg/buildflags.mk
+
+# Extend build flags
+CFLAGS += -Wall -Wno-unused
%:
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/libmpikmeans.git
More information about the debian-science-commits
mailing list