[mpich] 15/23: Unset CFLAGS etc. Otherwise Debian build flags end up as default flags used by e.g. mpicc

Torquil Macdonald Sørensen torquil-guest at moszumanska.debian.org
Thu Nov 5 17:11:47 UTC 2015


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

torquil-guest pushed a commit to branch master
in repository mpich.

commit 383d97b169ee7a07269d0ba6d09c564963f4ed0a
Author: Torquil Macdonald Sørensen <torquil at gmail.com>
Date:   Thu Nov 5 16:09:21 2015 +0100

    Unset CFLAGS etc. Otherwise Debian build flags end up as default flags used by e.g. mpicc
---
 debian/rules | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 1cff2b7..6f2421e 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,6 @@
 #! /usr/bin/make -f
-%:
-	dh $@  --parallel --with autoreconf
+
+export DH_VERBOSE=1
 
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 
@@ -37,12 +37,15 @@ ifneq (,$(findstring $(DEB_HOST_GNU_CPU),sparc sh4))
 	extra_flags += --with-atomic-primitives=no
 endif
 
+%:
+	dh $@  --parallel --with autoreconf
+
 override_dh_autoreconf:
 	dh_autoreconf
 	autoreconf -f -i src/mpl src/openpa src/mpi/romio src/pm/hydra
 
 override_dh_auto_configure:
-	dh_auto_configure -- $(extra_flags)
+	dh_auto_configure -- $(extra_flags) CFLAGS="" CXXFLAGS="" FFLAGS="" FCFLAGS=""
 
 override_dh_auto_build-indep:
 	dh_auto_build -i

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



More information about the debian-science-commits mailing list