[gadap] 05/16: WIP: test CXXFLAGS with -fPIC

Alastair McKinstry mckinstry at moszumanska.debian.org
Thu Jul 27 15:28:46 UTC 2017


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

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

commit fca9acde0be11581fc306371ea7697cde3b8ed7b
Author: Alastair McKinstry <mckinstry at debian.org>
Date:   Wed Sep 14 18:51:43 2016 +0100

    WIP: test CXXFLAGS with -fPIC
---
 debian/rules | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/debian/rules b/debian/rules
index 75e1579..957361d 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,11 +5,15 @@ export DH_VERBOSE=1
 DESTDIR:=`pwd`/debian/tmp/
 DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
 LIBDIR:=/usr/lib/$(DEB_HOST_MULTIARCH)
+CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) -fPIC
 
 # The magic debhelper  rule
 %:
 	dh $@ --with autoreconf
 
+override_dh_auto_configure:
+	dh_auto_configure -- CXXFLAGS=$(CXXFLAGS)
+
 override_dh_auto_install:
 	dh_auto_install
 	rm debian/libgadap-dev/usr/bin/test

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



More information about the debian-science-commits mailing list