Don't replace whole AR line

This commit is contained in:
Dr. Stephen Henson 2009-10-28 15:33:06 +00:00
parent 23a4ccd178
commit 8c6dd96aed

View file

@ -1508,7 +1508,7 @@ while (<IN>)
}
else {
s/^CC=.*$/CC= $cc/;
s/^AR=.*/AR= $ar/;
s/^AR=\s*ar/AR= $ar/;
s/^RANLIB=.*/RANLIB= $ranlib/;
}
s/^MAKEDEPPROG=.*$/MAKEDEPPROG= $cc/ if $cc eq "gcc";