mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
meson: drop 'name' argument in cc.has_argument() (#8878)
This commit is contained in:
parent
773c84349d
commit
b0903bb585
|
@ -401,8 +401,7 @@ endforeach
|
|||
if get_option('buildtype') != 'debug'
|
||||
foreach arg : ['-ffunction-sections',
|
||||
'-fdata-sections']
|
||||
if cc.has_argument(arg,
|
||||
name : '@0@ is supported'.format(arg))
|
||||
if cc.has_argument(arg)
|
||||
add_project_arguments(arg, language : 'c')
|
||||
endif
|
||||
endforeach
|
||||
|
|
Loading…
Reference in a new issue