From eff6c8d2b5c0ea839c660688338b59cbc99cba93 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Kim=20Nguy=E1=BB=85n?= Date: Wed, 14 Mar 2012 13:39:42 +0100 Subject: [PATCH] Update compilation flag: - change the value of inlining for OCaml code - pass -O3 as a flag to the C/C++ compiler --- myocamlbuild_config.ml.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/myocamlbuild_config.ml.in b/myocamlbuild_config.ml.in index 0fc3c7e..d9ff565 100644 --- a/myocamlbuild_config.ml.in +++ b/myocamlbuild_config.ml.in @@ -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" ];; -- 2.17.1