meson: use c_args in generator scripts (#10289)

May be useful in some cases.
This commit is contained in:
Yu Watanabe
2018-10-08 18:37:06 +02:00
committed by Zbigniew Jędrzejewski-Szmek
parent 1099ceebce
commit 56f56d5ad8
+1 -1
View File
@@ -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