Explorar o código

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

Brad King %!s(int64=9) %!d(string=hai) anos
pai
achega
ace12c9c15
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Source/cmNinjaNormalTargetGenerator.cxx

+ 1 - 1
Source/cmNinjaNormalTargetGenerator.cxx

@@ -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;