]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: drop 'name' argument in cc.has_argument() (#8878)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Wed, 2 May 2018 08:05:51 +0000 (17:05 +0900)
committerLennart Poettering <lennart@poettering.net>
Wed, 2 May 2018 08:05:51 +0000 (10:05 +0200)
meson.build

index 93cbabf260fae494365b02085a05fa22b2e7971c..0086f774832df312b00ebc3b7a02c721fa3a59ff 100644 (file)
@@ -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