X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~mdw/git/disorder/blobdiff_plain/69a3ec00896b5f6dcdd04d5250e8b9fc8aeb20fd..dabc426afb4896850cf01bd8916ef1155b2d7652:/debian/rules diff --git a/debian/rules b/debian/rules index ea9a54c..63319bb 100755 --- a/debian/rules +++ b/debian/rules @@ -20,6 +20,12 @@ cgiexecdir=/usr/lib/cgi-bin httpdir=/var/www browser=x-www-browser +CPPFLAGS:=$(shell dpkg-buildflags --get CPPFLAGS) +CFLAGS:=$(shell dpkg-buildflags --get CFLAGS) +CXXFLAGS:=$(shell dpkg-buildflags --get CXXFLAGS) +LDFLAGS:=$(shell dpkg-buildflags --get LDFLAGS) +export CFLAGS CPPFLAGS CXXFLAGS LDFLAGS + # Options to configure. This can be overridden by the caller if necessary. CONFIGURE=--prefix=/usr --sysconfdir=/etc --localstatedir=/var/lib --mandir=/usr/share/man --with-browser=${browser} cgiexecdir="${cgiexecdir}" httpdir="${httpdir}"