Reduce the xargs -s value we use on Windows
authorIan Lynagh <igloo@earth.li>
Thu, 12 Aug 2010 22:37:21 +0000 (22:37 +0000)
committerIan Lynagh <igloo@earth.li>
Thu, 12 Aug 2010 22:37:21 +0000 (22:37 +0000)
With 30000 I was getting:
    xargs: value for -s option should be < 28153

mk/config.mk.in

index 2be8a52..290db85 100644 (file)
@@ -627,10 +627,12 @@ LdIsGNULd         = @LdIsGNULd@
 # On MSYS, building with SplitObjs=YES fails with 
 #   ar: Bad file number
 # see #3201.  We need to specify a smaller max command-line size
-# to work around it.  32767 doesn't work; 30000 does.
+# to work around it.  32767 doesn't work; 30000 does, but says
+#     xargs: value for -s option should be < 28153
+# so we now use 20000 to be comfortably below this bound
 XARGS = xargs
 ifeq "$(Windows)" "YES"
-XARGS_OPTS = -s 30000
+XARGS_OPTS = -s 20000
 endif
 
 #