mirror of
https://github.com/systemd/systemd.git
synced 2024-12-22 17:35:35 +03:00
Revert "Revert "meson: use c_args in generator scripts (#10289)""
This reverts commit 0e3cc902fa
.
Fixes #10288.
I have confirmed that this does now fix cross-compilation.
It appears that changes upstream in Meson, probably mesonbuild/meson#5263, have made the original MR, #10289, work now.
This needs to be tested to ensure that it doesn't break Travis CI like when it was reverted in #10361.
This commit is contained in:
parent
9ff6876555
commit
465104b4d4
@ -483,7 +483,7 @@ if cxx_cmd != ''
|
|||||||
add_project_arguments(cxx.get_supported_arguments(basic_disabled_warnings), language : 'cpp')
|
add_project_arguments(cxx.get_supported_arguments(basic_disabled_warnings), language : 'cpp')
|
||||||
endif
|
endif
|
||||||
|
|
||||||
cpp = ' '.join(cc.cmd_array()) + ' -E'
|
cpp = ' '.join(cc.cmd_array() + get_option('c_args')) + ' -E'
|
||||||
|
|
||||||
has_wstringop_truncation = cc.has_argument('-Wstringop-truncation')
|
has_wstringop_truncation = cc.has_argument('-Wstringop-truncation')
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user