[med-fichier] 11/17: Use mpi compiler

Christophe Trophime trophime-guest at moszumanska.debian.org
Tue Jan 28 10:40:36 UTC 2014


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

trophime-guest pushed a commit to branch master
in repository med-fichier.

commit efeffa055e19d8a4bfe4c45e9a90b3a6aca9eada
Author: Christophe Trophime <christrophime at googlemail.com>
Date:   Mon Sep 30 09:05:53 2013 +0200

    Use mpi compiler
---
 debian/rules | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/debian/rules b/debian/rules
index 9bb5cdd..3d521bf 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,8 +11,6 @@
 DEB_HOST_GNU_TYPE   ?= $(shell dpkg-architecture -qDEB_HOST_GNU_TYPE)
 DEB_BUILD_GNU_TYPE  ?= $(shell dpkg-architecture -qDEB_BUILD_GNU_TYPE)
 
-export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
 
 CFLAGS = -Wall -g
 
@@ -30,7 +28,9 @@ include /usr/share/quilt/quilt.make
 config.status: patch
 	dh_testdir
 	dh_autoreconf
-	CFLAGS="$(CFLAGS)" CPPFLAGS=-I/usr/include/mpi ./configure \
+	LDFLAGS="$(LDFLAGS) -Wl,--as-needed" \
+	CFLAGS="$(CFLAGS)" \
+	CXX=mpicc ./configure \
 			--host=$(DEB_HOST_GNU_TYPE) \
 			--build=$(DEB_BUILD_GNU_TYPE) \
 			--prefix=/usr \

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



More information about the debian-science-commits mailing list