summaryrefslogtreecommitdiff
path: root/dev-ml/camlp4/camlp4-4.05_p1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/camlp4/camlp4-4.05_p1.ebuild')
-rw-r--r--dev-ml/camlp4/camlp4-4.05_p1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-ml/camlp4/camlp4-4.05_p1.ebuild b/dev-ml/camlp4/camlp4-4.05_p1.ebuild
index fe6e0dc150a5..c7ad55154b10 100644
--- a/dev-ml/camlp4/camlp4-4.05_p1.ebuild
+++ b/dev-ml/camlp4/camlp4-4.05_p1.ebuild
@@ -33,6 +33,8 @@ src_configure() {
}
src_compile() {
+ # Increase stack limit to 11GiB to avoid stack overflow error.
+ ulimit -s 11530000
emake byte
use ocamlopt && emake native
}