From 9c0d3bbc749daf2dfc755055ac3d0f0c4f499fb0 Mon Sep 17 00:00:00 2001 From: Richard W.M. Jones Date: Oct 17 2017 15:11:46 +0000 Subject: Avoid a stack overflow in the OCaml 4.05 compiler on POWER only. --- diff --git a/ocaml-camomile.spec b/ocaml-camomile.spec index a1e4b3f..442aaa3 100644 --- a/ocaml-camomile.spec +++ b/ocaml-camomile.spec @@ -55,6 +55,11 @@ applications that use %{name}. %build +# This avoids a stack overflow in the OCaml 4.05 compiler on POWER only. +%ifarch %{power64} +ulimit -Hs 65536 +ulimit -Ss 65536 +%endif jbuilder build --verbose