use_standard_c_and_cxx_flags

(use_standard_c_and_cxx_flags ...)

New in version 2.8.

Control how flags coming from ocamlc -config are passed to the C compiler command line.

Historically, they have been systematically prepended without a way to override them.

If the following is passed, the mechanism is slightly altered:

(use_standard_c_and_cxx_flags)

In this mode, Dune will populate the :standard set of C flags with the content of ocamlc_cflags and ocamlc_cppflags. These flags can be completed or overridden using the Ordered Set Language.

This is the default in the language version 3.0.