PR#6720: pass -g to C compilers when tag 'debug' is set

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@15680 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Gabriel Scherer 2014-12-17 10:36:06 +00:00
parent 0bb55ef40b
commit d7bac4efb2
2 changed files with 4 additions and 0 deletions

View File

@ -51,6 +51,8 @@ OCamlbuild:
(Peter Zotov, Gabriel Scherer)
- PR#6712: Ignore common VCS directories
(Peter Zotov)
- PR#6720: pass -g to C compilers when tag 'debug' is set
(Peter Zotov, Gabriel Scherer)
Bug fixes:
- PR#5836, PR#6684: printing lazy values in ocamldebug may segfault

View File

@ -675,6 +675,8 @@ flag ["ocaml"; "debug"; "pack"; "byte"] (A "-g");;
flag ["ocaml"; "debug"; "compile"; "native"] (A "-g");;
flag ["ocaml"; "debug"; "link"; "native"; "program"] (A "-g");;
flag ["ocaml"; "debug"; "pack"; "native"] (A "-g");;
flag ["c"; "debug"; "compile"] (A "-g");
flag ["c"; "debug"; "link"] (A "-g");
flag ["ocaml"; "link"; "native"; "output_obj"] (A"-output-obj");;
flag ["ocaml"; "link"; "byte"; "output_obj"] (A"-output-obj");;
flag ["ocaml"; "dtypes"; "compile"] (A "-dtypes");;