mirror of
https://github.com/morgan9e/systemd
synced 2026-04-15 00:47:10 +09:00
meson: use c_args in generator scripts (#10289)
May be useful in some cases.
This commit is contained in:
committed by
Zbigniew Jędrzejewski-Szmek
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
|
||||
|
||||
Reference in New Issue
Block a user