summaryrefslogtreecommitdiff
path: root/Setup.hs
diff options
context:
space:
mode:
authorkevin.kofler <kevin.kofler@chello.at>2010-05-16 16:58:09 +0000
committerkevin.kofler <kevin.kofler@chello.at>2010-05-16 16:58:09 +0000
commitf2619d010d8ca3f25ec2130f48e72c504913b1a2 (patch)
tree8481fbbd197cb3656df94f0d23dda93a190cefcf /Setup.hs
parentb4db65d9426b172dfd34f4ed996ebdd4ba265fe5 (diff)
Setup.hs: Increase stack size for gf runs, fixes TryFin.gf build on Fedora 13 x86_64
Diffstat (limited to 'Setup.hs')
-rw-r--r--Setup.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Setup.hs b/Setup.hs
index 0c3c5662a..a144079bf 100644
--- a/Setup.hs
+++ b/Setup.hs
@@ -298,7 +298,7 @@ unlexer abstr ls =
-- | Runs the gf executable in compile mode with the given arguments.
run_gfc :: PackageDescription -> LocalBuildInfo -> [String] -> IO ()
run_gfc pkg lbi args =
- do let args' = ["-batch","-gf-lib-path="++rgl_src_dir] ++ filter (not . null) args
+ do let args' = ["-batch","-gf-lib-path="++rgl_src_dir,"+RTS","-K16M","-RTS"] ++ filter (not . null) args
gf = default_gf pkg lbi
putStrLn $ "Running: " ++ gf ++ " " ++ unwords (map showArg args')
e <- rawSystem gf args'