Skip to content

meson: Fix CFLAGS use by using add_project_arguments

Benjamin Berg requested to merge benzea/fix-CFLAGS into master

It seems that meson will not always apply the CFLAGS as defined through the environment if "c_args=" is used in the default_options array for the project() call.

Work around this by setting them through add_project_arguments.

See https://github.com/mesonbuild/meson/issues/8037

Merge request reports

Loading