tar (1.26-4) UNRELEASED; urgency=low
* mark "Mult-Arch: foreign" to ease crossgrading, closes: #649478
+ * hardened build flags patch from Moritz Huehlenhoff, closes: #653722
- -- Bdale Garbee <bdale@gag.com> Mon, 21 Nov 2011 08:03:32 -0700
+ -- Bdale Garbee <bdale@gag.com> Fri, 30 Dec 2011 09:18:11 -0700
tar (1.26-3) unstable; urgency=low
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 \