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