Bug#758471: perl: regression in passing LDFLAGS to subdirectory builds

Niko Tyni ntyni at debian.org
Sun Aug 24 20:03:24 UTC 2014


retitle 758471 explicit LD settings in subdirectory Makefile.PL files can't be overridden from the command line
tag 758471 patch
thanks

On Sun, Aug 24, 2014 at 11:19:10AM -0700, Niko Tyni wrote:
> severity 758471 normal
> thanks
> 
> On Sun, Aug 17, 2014 at 11:21:19PM +0300, Niko Tyni wrote:
> > Package: perl
> > Version: 5.20.0-4
> > Severity: important
> > Tags: security
> > 
> > There seems to be a regression from the 5.18 packages in passing linker
> > build flags into subdirectory builds. At least libwx-perl is now built
> > with the default linker and flags in all its subdirectories, resulting in
> > "less hardenedness" (softening?).
> 
> It looks like libwx-perl is a special case because it's explicitly
> setting LD in Wx::build::MakeMaker::Any_wx_config::get_flags():
>   $config{LD} = $ENV{CXX} || Alien::wxWidgets->linker;
> 
> Our 5.18 patch to ExtUtils::MakeMaker allowed overriding this
> via the command line, but the fix adopted upstream doesn't.

Patch attached. This is essentially the same thing we used for 5.18.
-- 
Niko Tyni   ntyni at debian.org
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Pass-LD-settings-through-to-subdirectories.patch
Type: text/x-diff
Size: 1155 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/perl-maintainers/attachments/20140824/53326c74/attachment.patch>


More information about the Perl-maintainers mailing list