summaryrefslogtreecommitdiff
path: root/dev-ml/camlp4/camlp4-4.04_p1.ebuild
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ml/camlp4/camlp4-4.04_p1.ebuild')
-rw-r--r--dev-ml/camlp4/camlp4-4.04_p1.ebuild2
1 files changed, 2 insertions, 0 deletions
diff --git a/dev-ml/camlp4/camlp4-4.04_p1.ebuild b/dev-ml/camlp4/camlp4-4.04_p1.ebuild
index 8bf8d05f279c..af8352a49da7 100644
--- a/dev-ml/camlp4/camlp4-4.04_p1.ebuild
+++ b/dev-ml/camlp4/camlp4-4.04_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
}