[petsc] 01/01: Configure --with-pic=1 for -fPIC flags

Drew Parsons dparsons at moszumanska.debian.org
Tue Jul 12 10:41:42 UTC 2016


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

dparsons pushed a commit to branch experimental
in repository petsc.

commit b866514dd3599b492d6124e4d9a492f56893b5b5
Author: Drew Parsons <dparsons at debian.org>
Date:   Tue Jul 12 18:40:27 2016 +0800

    Configure --with-pic=1 for -fPIC flags
    
    Configure --with-pic=1 to ensure -fPIC flags are used for building
    with shared libraries.
---
 debian/changelog | 7 +++++++
 debian/rules     | 2 +-
 2 files changed, 8 insertions(+), 1 deletion(-)

diff --git a/debian/changelog b/debian/changelog
index 84e0afd..912fb80 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+petsc (3.7.2.dfsg1-1exp2) UNRELEASED; urgency=medium
+
+  * Configure --with-pic=1 to ensure -fPIC flags are used for building
+    with shared libraries.
+
+ -- Drew Parsons <dparsons at debian.org>  Tue, 12 Jul 2016 18:38:40 +0800
+
 petsc (3.7.2.dfsg1-1exp1) experimental; urgency=medium
 
   * New upstream version.
diff --git a/debian/rules b/debian/rules
index 8c995aa..48784e0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -92,7 +92,7 @@ PACKAGE_COMPLEX_INSTALL_DIR=$(PACKAGE_COMPLEX_INSTALL_BASEDIR)/$(PETSC_COMPLEX_D
 PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR=debian/tmp/$(PETSC_NAME)-complex-debug
 PACKAGE_COMPLEX_DEBUG_INSTALL_DIR=$(PACKAGE_COMPLEX_DEBUG_INSTALL_BASEDIR)/$(PETSC_COMPLEX_DEBUG_DIR_PREFIX)
 
-CONFIGURATION_OPTIONS=--with-shared-libraries \
+CONFIGURATION_OPTIONS=--with-shared-libraries --with-pic=1 \
 	  --useThreads=0 \
 	  --with-fortran-interfaces=1 \
 	  --with-mpi-dir=$(PETSC_MPI_DIR) \

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



More information about the debian-science-commits mailing list