Don't replace whole AR line

This commit is contained in:
Dr. Stephen Henson 2009-10-28 15:33:32 +00:00
parent 970097ae2c
commit 8844a69cd3

View file

@ -1501,7 +1501,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";
}