The following commit has been merged in the master branch: commit 5406ff65d3d51d0547276564af3fb1425d57d2f2 Author: Antonio Valentino <antonio.valent...@tiscali.it> Date: Thu Feb 23 20:31:06 2012 +0100
Honor noopt DEB_BUILD_OPTIONS diff --git a/debian/changelog b/debian/changelog index fec0277..875ed18 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,9 +7,9 @@ pyepr (0.6-1) unstable; urgency=low * Use dh_sphinxdoc and common javascript code from libjs-sphinxdoc * Call dh_numpy for an appropriate managements of dependency from numpy - * Honor nodoc DEB_BUILD_OPTIONS + * Honor nodoc and noopt DEB_BUILD_OPTIONS - -- Antonio Valentino <antonio.valent...@tiscali.it> Thu, 23 Feb 2012 20:25:29 +0100 + -- Antonio Valentino <antonio.valent...@tiscali.it> Thu, 23 Feb 2012 20:30:14 +0100 pyepr (0.5-1) unstable; urgency=low diff --git a/debian/rules b/debian/rules index af08ffd..ade5c8f 100755 --- a/debian/rules +++ b/debian/rules @@ -4,6 +4,10 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +ifneq (,$(findstring noopt,$(DEB_BUILD_OPTIONS))) +export CFLAGS ?= -O0 +endif + %: dh $@ --with python2 --buildsystem=python_distutils -- Python ENVISAT Product Reader API _______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-grass-devel