summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorIan Lynagh <igloo@earth.li>2010-08-12 22:37:21 +0000
committerIan Lynagh <igloo@earth.li>2010-08-12 22:37:21 +0000
commit429dc9a048f5533143fb5c9908b09d3155496e9b (patch)
treec60aa1483189f1df9ffb56ec5d26cfa7b31b4e39 /mk
parent60873542e8edf0ee593fde2b6544770d8036728f (diff)
downloadhaskell-429dc9a048f5533143fb5c9908b09d3155496e9b.tar.gz
Reduce the xargs -s value we use on Windows
With 30000 I was getting: xargs: value for -s option should be < 28153
Diffstat (limited to 'mk')
-rw-r--r--mk/config.mk.in6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/config.mk.in b/mk/config.mk.in
index 2be8a52e89..290db85a22 100644
--- a/mk/config.mk.in
+++ b/mk/config.mk.in
@@ -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
#