X-Git-Url: http://git.nguyen.vg/gitweb/?a=blobdiff_plain;f=myocamlbuild.ml;h=d198faa9dea745b0d9a7ee412c289b60b40611dc;hb=90abd87dee295c60122d5dc1cfc6c27d1d92e903;hp=41730a62eeed8b16b1bc5c5a13e0728c0fed1eb0;hpb=d89f59cf6220e605bfbb67fd3cb83f9165fde5a5;p=tatoo.git diff --git a/myocamlbuild.ml b/myocamlbuild.ml index 41730a6..d198faa 100644 --- a/myocamlbuild.ml +++ b/myocamlbuild.ml @@ -28,6 +28,7 @@ let () = dispatch begin function | Before_rules -> set_flags [["ocaml";"compile"]; ["ocaml";"ocamldep"] ] macro_flags; + pflag [ "ocaml"; "compile" ] "warning" (fun s -> (S[ A"-w"; A s])); flag [ "ocaml"; "compile"; "debug" ] (S[ A"-g"; A"-ppopt"; A"-DDEBUG"]); flag [ "ocaml"; "link"; "debug" ] (A"-g"); flag [ "ocaml"; "compile"; "profile"] (S[A"-ppopt"; A"-DPROFILE"]);