diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2013-05-31 01:25:47 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2013-05-31 01:25:47 +0100 |
commit | 69bf040bae3f833ad57af0871c5d3c7837bafbfb (patch) | |
tree | 9cd1b2dd4ce83cba7c4b568ae917c5a4888ae16d /debian/rules | |
parent | ac4bcde6119c14d7f9b2fd000b691e993115adfa (diff) |
releasing version 0.9.1-2
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 2f03d828..1bade502 100755 --- a/debian/rules +++ b/debian/rules @@ -1,5 +1,10 @@ #!/usr/bin/make -f +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) + # Get the supported Python versions PYVERS = $(shell pyversions -r -v) # Get the default Python version @@ -12,7 +17,8 @@ pythonpath_dbg = $$(ls -d $(CURDIR)/build/lib_d.*-$(1) 2>/dev/null || ls -d $(CU export HOME=$(CURDIR)/nonexistent %: - dh --with python2 --buildsystem=python_distutils $* + CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" CXXFLAGS="$(CXXFLAGS)" \ + LDFLAGS="$(LDFLAGS)" dh --with python2 --buildsystem=python_distutils $* override_dh_auto_build: dh_auto_build |