mirror of
https://github.com/systemd/systemd.git
synced 2024-10-27 10:25:37 +03: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 New Issue
Block a user