From: Yu Watanabe Date: Mon, 8 Oct 2018 16:37:06 +0000 (+0900) Subject: meson: use c_args in generator scripts (#10289) X-Git-Tag: v240~616 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56f56d5ad856d9bd1070693490b210e0a0ccde92;p=thirdparty%2Fsystemd.git meson: use c_args in generator scripts (#10289) May be useful in some cases. --- diff --git a/meson.build b/meson.build index 554e67e5dd0..5e653b8b6f7 100644 --- a/meson.build +++ b/meson.build @@ -392,7 +392,7 @@ if cc.compiles(''' add_project_arguments('-Werror=shadow', language : 'c') endif -cpp = ' '.join(cc.cmd_array()) + ' -E' +cpp = ' '.join(cc.cmd_array() + get_option('c_args')) + ' -E' ##################################################################### # compilation result tests