mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08:00
meson: drop 'name' argument in cc.has_argument() (#8878)
This commit is contained in:
committed by
Lennart Poettering
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
|
||||
|
||||
Reference in New Issue
Block a user