Update compilation flag:
authorKim Nguyễn <kn@lri.fr>
Wed, 14 Mar 2012 12:39:42 +0000 (13:39 +0100)
committerKim Nguyễn <kn@lri.fr>
Wed, 14 Mar 2012 12:39:42 +0000 (13:39 +0100)
       - change the value of inlining for OCaml code
       - pass -O3 as a flag to the C/C++ compiler

myocamlbuild_config.ml.in

index 0fc3c7e..d9ff565 100644 (file)
@@ -1,9 +1,9 @@
-let ocaml_inline = "1000";;
+let ocaml_inline = "100";;
 let include_path = "include";;
 let src_path = "src";;
 let ocaml_link = [ ];;
 let ocamlfind_packages = "unix,ulex,expat,camlp4,camlp4.lib";;
-let cxx_flags = [ "-fno-PIC"; "-std=c++0x"; "-static" ; "-flto"];;
+let cxx_flags = [ "-fno-PIC"; "-std=c++0x"; "-static" ; "-flto"; "-O3" ];;
 let main_targets = [ "native","src/main.native";
                     "byte", "src/main.byte" ];;
 let cstub_lib = [ "src/libcamlshredder.a" ];;