On Mon, Sep 13, 2010 at 10:54:26PM +0200, gregor herrmann wrote: > from Makefile.PL doesn't help, "perl Makefile.PL" (called from > dh_auto_configure, or manually) happily adds "OPTIMIZE = -O2 -g" to > Makefile, ignoring DEB_BUILD_OPTIONS and DEB_CFLAGS_SET. > > This can be overriden with something like > dh_auto_configure -- OPTIMIZE=$(shell dpkg-buildflags --get CFLAGS) > (or manually perl Makefile.PL OPTIMIZE="whatever") but I guess this > should rather be addressed at the debhelper level (or by > ExtUtils::MakeMaker?) than by each individual package.
There's #497653 in debhelper about the DEB_BUILD_OPTIONS=noopt side of this. -- Niko Tyni nt...@debian.org -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org