From 56f56d5ad856d9bd1070693490b210e0a0ccde92 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Tue, 9 Oct 2018 01:37:06 +0900 Subject: [PATCH] meson: use c_args in generator scripts (#10289) May be useful in some cases. --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 554e67e5dd..5e653b8b6f 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