ocamlbuild: Give tags to the ocamlc given to menhir.

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8937 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Nicolas Pouillard 2008-07-25 14:26:36 +00:00
parent 9e122e5bfe
commit cc98973042
1 changed files with 2 additions and 1 deletions

View File

@ -71,9 +71,10 @@ let menhir_modular menhir_base mlypack mlypack_depends env build =
let (tags,files) = import_mlypack build mlypack in
let () = List.iter Outcome.ignore_good (build [[mlypack_depends]]) in
Ocaml_compiler.prepare_compile build mlypack;
let ocamlc_tags = tags++"ocaml"++"byte"++"compile" in
let tags = tags++"ocaml"++"parser"++"menhir" in
Cmd(S[menhir ;
A "--ocamlc"; Quote(S[!Options.ocamlc; ocaml_include_flags mlypack]);
A "--ocamlc"; Quote(S[!Options.ocamlc; T ocamlc_tags; ocaml_include_flags mlypack]);
T tags ; A "--infer" ; flags_of_pathname mlypack ;
A "--base" ; Px menhir_base ; atomize_paths files])