From: Yu Watanabe Date: Wed, 2 May 2018 08:05:51 +0000 (+0900) Subject: meson: drop 'name' argument in cc.has_argument() (#8878) X-Git-Tag: v239~332 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=b0903bb585d2158f78a4cf603fde4aed5474e2b9;p=thirdparty%2Fsystemd.git meson: drop 'name' argument in cc.has_argument() (#8878) --- diff --git a/meson.build b/meson.build index 93cbabf260f..0086f774832 100644 --- a/meson.build +++ b/meson.build @@ -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