meson: use c_args in generator scripts (#10289)
May be useful in some cases.
This commit is contained in:
parent
1099ceebce
commit
56f56d5ad8
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue