Skip to content

Commit

Permalink
Change doc comment
Browse files Browse the repository at this point in the history
Signed-off-by: Ulysse Gérard <[email protected]>
  • Loading branch information
voodoos committed Sep 28, 2020
1 parent 5dfc52b commit e889855
Showing 1 changed file with 3 additions and 11 deletions.
14 changes: 3 additions & 11 deletions src/dune_rules/cxx_flags.mli
Original file line number Diff line number Diff line change
@@ -1,14 +1,6 @@
(** This module contains a small database of flags that is used when compiling C
and C++ stubs. Indeed, both the C++ flags and the output arguments can
differ from one compiler to another. *)
and C++ stubs. *)

(** [default_with_output_args ~kind ctx destination] returns both the list of
default flags to compile C and C++ stubs and the correct output arguments
depending on the default C compiler:
- For CXX the default flags will depend on the detected compiler
- For C the flags are the ones from [ocamlc -config]
The returned flag list also include the feedback-directed optimizations
flags (FDO). *)
(** [get_flags c_compiler] returns the necessary flags to turn this compiler
into a c++ compiler for some of the most common compilers *)
val get_flags : Ocaml_config.Ccomp_type.t -> string list

0 comments on commit e889855

Please sign in to comment.