[petsc] 01/02: Build with -fPIC explicitly forced into build flags.

Drew Parsons dparsons at moszumanska.debian.org
Fri Jul 29 17:24:21 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 64ee282fdbe13f2272c20de34fdfa3c40ab46adb
Author: Drew Parsons <dparsons at debian.org>
Date:   Fri Jul 29 21:11:28 2016 +0800

    Build with -fPIC explicitly forced into build flags.
    
    setting the fPIC configure option was not enough to fix ppc64el,
    armhf, arm64
---
 debian/changelog |  6 ++++++
 debian/rules     | 10 ++++++----
 2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index f01dd50..071310d 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,9 @@
+petsc (3.7.2.dfsg1-1exp3) UNRELEASED; urgency=medium
+
+  * Build with -fPIC explicitly forced into build flags.
+
+ -- Drew Parsons <dparsons at debian.org>  Fri, 29 Jul 2016 21:09:48 +0800
+
 petsc (3.7.2.dfsg1-1exp2) experimental; urgency=medium
 
   * Configure --with-pic=1 to ensure -fPIC flags are used for building
diff --git a/debian/rules b/debian/rules
index 48784e0..295b4d3 100755
--- a/debian/rules
+++ b/debian/rules
@@ -11,10 +11,12 @@ include /usr/share/dpkg/default.mk
 #export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 # see ENVIRONMENT in dpkg-buildflags(1)
-# package maintainers to append CFLAGS
-#export DEB_CFLAGS_MAINT_APPEND  = -Wall -pedantic
-# package maintainers to append LDFLAGS
-#export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed
+# package maintainers to append FLAGS
+export DEB_CFLAGS_MAINT_APPEND  = -fPIC
+export DEB_CXXFLAGS_MAINT_APPEND  = -fPIC
+export DEB_FFLAGS_MAINT_APPEND  = -fPIC
+export DEB_FCFLAGS_MAINT_APPEND  = -fPIC
+export DEB_LDFLAGS_MAINT_APPEND = -fPIC
 
 # Overriding this with "contrib" attempts to link with parmetis (unimplemented).
 DEBIAN_DIST=main

-- 
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