On Mon, Jan 16, 2012 at 11:47:01AM +0200, Timo Juhani Lindfors wrote: > Moritz Muehlenhoff <j...@debian.org> writes: > > Please enabled hardened build flags through dpkg-buildflags. > > > > Patch attached. (dpkg-buildflags abides "noopt" from > > DEB_BUILD_OPTIONS) > > Sounds sane. Squeeze does not support this but do we care about > backports?
If you care about backports, you can still do DEB_CFLAGS_MAINT_APPEND=-Wall -D_GNU_SOURCE DEB_CXXFLAGS_MAINT_APPEND=-Wall -D_GNU_SOURCE CFLAGS = `dpkg-buildflags --get CFLAGS` LDFLAGS = `dpkg-buildflags --get LDFLAGS` CPPFLAGS = `dpkg-buildflags --get CPPFLAGS` (..) CFLAGS="$(CFLAGS)" CPPFLAGS="$(CPPFLAGS)" LDFLAGS="$(LDFLAGS)" ./configure Cheers, Moritz -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org