X-Git-Url: http://git.nguyen.vg/gitweb/?p=tatoo.git;a=blobdiff_plain;f=myocamlbuild.ml;h=d198faa9dea745b0d9a7ee412c289b60b40611dc;hp=41730a62eeed8b16b1bc5c5a13e0728c0fed1eb0;hb=f749a3e33d759fddef63a69e54ff1336411d5e16;hpb=0a783c201ad605afff85e27ba50c66a109355d4a 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"]);