let libs_files = List.map (fun s -> "file:" ^ s) cxx_libs_objects
-let native_compile_flags = ref [A"-fno-PIC"]
+let native_compile_flags = if Sys.word_size = 64 then ref [A"-fno-PIC"] else ref []
let compile_flags = ref []
let dwsize = sprintf "-DWORDSIZE%i" Sys.word_size
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