[paraview] 01/08: Use dpkg-buildflags. Should fix reproducibility.

Anton Gladky gladk at moszumanska.debian.org
Wed Apr 6 19:07:55 UTC 2016


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

gladk pushed a commit to branch master
in repository paraview.

commit b3f3619a96c4e03fca1d91a5bde24371cbb7c1e4
Author: Anton Gladky <gladk at debian.org>
Date:   Tue Apr 5 23:04:15 2016 +0200

    Use dpkg-buildflags. Should fix reproducibility.
---
 debian/rules | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/debian/rules b/debian/rules
index 6c13ffb..53dd333 100755
--- a/debian/rules
+++ b/debian/rules
@@ -9,8 +9,10 @@ UPSTREAM_VERSION = $(shell dpkg-parsechangelog | awk '/^Version:/ { sub("-[^-]*$
 
 export LD_LIBRARY_PATH+=:$(CURDIR)/debian/paraview/usr/lib/paraview
 
-export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS)
+CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) $(CPPFLAGS) -Wall -pedantic
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) $(CPPFLAGS)
+LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) -Wl,--as-needed
 
 # Explicit settings of MPI_* is required see
 # http://www.vtk.org/Bug/view.php?id=12572

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-science/packages/paraview.git



More information about the debian-science-commits mailing list