[pnetcdf] 06/08: WIP: try shared libs by compiling -fPIC

Alastair McKinstry mckinstry at moszumanska.debian.org
Sun Jan 24 09:06:33 UTC 2016


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

mckinstry pushed a commit to branch debian/master
in repository pnetcdf.

commit e97f590d98766eb9c12c27e239cd073dac3c666b
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Sun Jan 17 17:18:54 2016 +0000

    WIP: try shared libs by compiling -fPIC
---
 debian/patches/series | 2 +-
 debian/rules          | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/debian/patches/series b/debian/patches/series
index 664f288..2e30091 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1,2 +1,2 @@
 destdir.patch
-shared.patch
+#shared.patch
diff --git a/debian/rules b/debian/rules
index e42f518..6b6193c 100644
--- a/debian/rules
+++ b/debian/rules
@@ -20,7 +20,7 @@ override_dh_auto_clean:
 override_dh_auto_configure:
 	dh_auto_configure  --builddirectory=build-static
 	dh_auto_configure  --builddirectory=build-shared -- \
-		--enable-shared
+		CFLAGS=" $(CFLAGS) -fPIC"
 
 override_dh_auto_build:
 	$(MAKE) -C build-static

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



More information about the debian-science-commits mailing list