CONFARGS = --host=$(DEB_HOST_GNU_TYPE)
endif
+CFLAGS = `dpkg-buildflags --get CFLAGS`
+CFLAGS += -Wall
+LDFLAGS += `dpkg-buildflags --get LDFLAGS`
+CPPFLAGS = `dpkg-buildflags --get CPPFLAGS`
+
configure: configure-stamp
configure-stamp:
dh_testdir
cp -f /usr/share/misc/config.sub build-aux/config.sub
cp -f /usr/share/misc/config.guess build-aux/config.guess
- RSH="/usr/bin/rsh" CFLAGS="-O2 -g -Wall" ./configure \
+ RSH="/usr/bin/rsh" CPPFLAGS="$(CPPFLAGS)" CFLAGS="$(CFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure \
--prefix=/usr \
--libexecdir=/usr/sbin \
--with-lzma=xz \