Merge branch 'ninja-no-accidental-rsp' into release

This commit is contained in:
Brad King 2016-07-15 09:48:32 -04:00
commit ace12c9c15
1 changed files with 1 additions and 1 deletions

View File

@ -354,7 +354,7 @@ static int calculateCommandLineLengthLimit(int linkRuleLength)
size_t const arrSz = cmArraySize(limits);
int const sz = *std::min_element(limits, limits + arrSz);
if (sz == std::numeric_limits<int>::max()) {
return -1;
return 0;
}
return sz - linkRuleLength;