Re: MakeMaker broken (was Re: perl patch level 15780
Michael G. Schwern [Mon, 8 Apr 2002 10:34:49 +0000 (06:34 -0400)]
coredumps on startup)
   Message-Id: <20020408143449.GB3245@blackrider>

p4raw-id: //depot/perl@15805

lib/ExtUtils/MM_Unix.pm

index f364344..9fbd2fa 100644 (file)
@@ -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}) {