diff --git a/src/bigarray/dune b/src/bigarray/dune index 76d1426..4fd7a1e 100644 --- a/src/bigarray/dune +++ b/src/bigarray/dune @@ -5,9 +5,7 @@ (libraries iter bigarray unix) (modules IterBigarray IterBigarrayShims_) (wrapped false) - (optional) - (flags :standard -warn-error -a+8 -safe-string) - (ocamlopt_flags :standard (:include ../flambda.flags))) + (optional)) (executable (name mkshims) diff --git a/src/dune b/src/dune index 5cd78b4..391ca8b 100644 --- a/src/dune +++ b/src/dune @@ -1,8 +1,3 @@ -(rule - (targets flambda.flags) - (deps mkflags.ml) - (mode fallback) - (action (run ocaml ./mkflags.ml))) (executable (name mkshims) @@ -19,7 +14,11 @@ (public_name iter) (wrapped false) (modules Iter IterLabels Iter_shims_) - (flags :standard -warn-error -a+8 -safe-string -nolabels) - (ocamlopt_flags :standard (:include flambda.flags)) + (flags :standard -nolabels) (libraries bytes result)) + +(env + (_ + (flags :standard -warn-error -a+8 -safe-string -strict-sequence) + (ocamlopt_flags :standard -O3 -unbox-closures -unbox-closures-factor 20)))