Bug#596429: libdbd-sqlite3-perl: Harcodes optimization flags
Niko Tyni
ntyni at debian.org
Tue Sep 14 06:17:42 UTC 2010
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 ntyni at debian.org
More information about the pkg-perl-maintainers
mailing list