From 90b5471ea982133ab0648b153200cd49fd15145f Mon Sep 17 00:00:00 2001
From: Duncan Coutts <duncan.coutts@worc.ox.ac.uk>
Date: Mon, 21 Aug 2006 12:15:34 +0000
Subject: [PATCH] Use 30k by default for max command line length. We'll see if
 anyone complains.

---
 Distribution/Simple/GHC.hs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/Distribution/Simple/GHC.hs b/Distribution/Simple/GHC.hs
index ae3c292b46..57f0c40be7 100644
--- a/Distribution/Simple/GHC.hs
+++ b/Distribution/Simple/GHC.hs
@@ -208,12 +208,12 @@ build pkg_descr lbi verbose = do
             (baseDir, _)     = splitFileName compilerDir
             ld = baseDir `joinFileName` "gcc-lib\\ld.exe"
             rawSystemLd = rawSystemVerbose
-            maxCommandLineSize = 32 * 1024
+            maxCommandLineSize = 30 * 1024
 #else
             ld = "ld"
             rawSystemLd = rawSystemPath
              --TODO: discover this at configure time on unix
-            maxCommandLineSize = 32 * 1024
+            maxCommandLineSize = 30 * 1024
 #endif
             runLd ld args = do
               exists <- doesFileExist ghciLibName
-- 
GitLab