diff --git a/meson.build b/meson.build index b01dd9cd73d..1517065db66 100644 --- a/meson.build +++ b/meson.build @@ -483,7 +483,7 @@ if cxx_cmd != '' add_project_arguments(cxx.get_supported_arguments(basic_disabled_warnings), language : 'cpp') endif -cpp = ' '.join(cc.cmd_array()) + ' -E' +cpp = ' '.join(cc.cmd_array() + get_option('c_args')) + ' -E' has_wstringop_truncation = cc.has_argument('-Wstringop-truncation')