use_standard_c_and_cxx_flags¶
- (use_standard_c_and_cxx_flags ...)
Added 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 ofocamlc_cflags
andocamlc_cppflags
. These flags can be completed or overridden using the Ordered Set Language.This is the default in the language version 3.0.
See also