[pynac] 01/03: d/rules: move -D_LARGEFILE_SOURCE out of dh_auto_configure call and make use of dpkg-buildflags to add it

Mattia Rizzolo mattia at debian.org
Fri Oct 7 21:05:39 UTC 2016


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

mattia pushed a commit to branch master
in repository pynac.

commit 303e06db09a40019ba9ce8a2e4990f82c9b98bc7
Author: Mattia Rizzolo <mattia at debian.org>
Date:   Fri Oct 7 19:08:11 2016 +0000

    d/rules: move -D_LARGEFILE_SOURCE out of dh_auto_configure call and make use of dpkg-buildflags to add it
---
 debian/rules | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/debian/rules b/debian/rules
index 3dab60b..179dd36 100755
--- a/debian/rules
+++ b/debian/rules
@@ -1,6 +1,7 @@
 #!/usr/bin/make -f
 
 export DEB_LDFLAGS_MAINT_APPEND=-Wl,--as-needed
+export DEB_CPPFLAGS_MAINT_APPEND = -D_LARGEFILE_SOURCE
 export DEB_BUILD_MAINT_OPTIONS = hardening=+all
 
 %:
@@ -10,7 +11,7 @@ override_dh_autoreconf:
 	dh_autoreconf --as-needed
 
 override_dh_auto_configure:
-	dh_auto_configure -- --enable-shared --disable-static CPPFLAGS="$(CPPFLAGS) -D_LARGEFILE_SOURCE"
+	dh_auto_configure -- --enable-shared --disable-static
 
 override_dh_auto_install:
 	dh_auto_install

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



More information about the debian-science-commits mailing list