<email>ml@gentoo.org</email>
<name>Gentoo ML Project</name>
</maintainer>
+ <use>
+ <flag name="flambda">Enables the Flambda optimizer: A new intermediate representation (introduced in ocaml 4.03) in the depths of the compiler designed to allow for better inlining.</flag>
+ </use>
</pkgmetadata>
# so here we go with the subslot.
SLOT="0/${PV}"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
-IUSE="emacs latex ncurses +ocamlopt X xemacs"
+IUSE="emacs flambda latex ncurses +ocamlopt X xemacs"
RDEPEND="
ncurses? ( sys-libs/ncurses:0= )
use ncurses || myconf="${myconf} -no-curses"
use X || myconf="${myconf} -no-graph"
+ use flambda && myconf="${myconf} -flambda"
# ocaml uses a home-brewn configure script, preventing it to use econf.
RAW_LDFLAGS="$(raw-ldflags)" ./configure \