From: Michael G. Schwern Date: Mon, 8 Apr 2002 10:34:49 +0000 (-0400) Subject: Re: MakeMaker broken (was Re: perl patch level 15780 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=2d7e68ed6347d382440855d3dbb39b392c03fcab;p=p5sagit%2Fp5-mst-13.2.git Re: MakeMaker broken (was Re: perl patch level 15780 coredumps on startup) Message-Id: <20020408143449.GB3245@blackrider> p4raw-id: //depot/perl@15805 --- diff --git a/lib/ExtUtils/MM_Unix.pm b/lib/ExtUtils/MM_Unix.pm index f364344..9fbd2fa 100644 --- a/lib/ExtUtils/MM_Unix.pm +++ b/lib/ExtUtils/MM_Unix.pm @@ -304,7 +304,7 @@ sub cflags { $cflags{$_} =~ s/^\s+//; $cflags{$_} =~ s/\s+/ /g; $cflags{$_} =~ s/\s+$//; - $self->{uc $_} = $cflags{$_}; + $self->{uc $_} ||= $cflags{$_}; } if ($self->{POLLUTE}) {