Add runtime assertion to check that values passed to Obj_val()
[SXSI/xpathcomp.git] / myocamlbuild.ml
index 7a792d1..6f27e4e 100644 (file)
@@ -127,7 +127,7 @@ let () = dispatch begin
        compile_flags @= [A "-noassert"];
        pp_macro_options @= [ A "-unsafe" ];
        native_compile_flags @= [ A "-inline"; A ocaml_inline ];
-       cxx_flags @= [ A "-O3" ]
+       cxx_flags @= [ A "-O3"; A "-DNDEBUG" ]
       end;
 
       let dir_path = Pathname.pwd / src_path in