Don't replace whole AR line

This commit is contained in:
Dr. Stephen Henson 2009-10-28 15:33:20 +00:00
parent d3f940833d
commit 32509c9731

View File

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