meson: drop 'name' argument in cc.has_argument() (#8823)
authorYu Watanabe <watanabe.yu+github@gmail.com>
Thu, 26 Apr 2018 08:53:10 +0000 (17:53 +0900)
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>
Thu, 26 Apr 2018 08:53:10 +0000 (10:53 +0200)
commit8ac42236b09d2f21f962bf72fcbeee24502f959f
tree06514acf6e730b1f89ef10823c979a00747b7365
parentad628501b95b83ac6c0b42bb69db7e1b38c0ff13
meson: drop 'name' argument in cc.has_argument() (#8823)

This fixes the following warning with clang and meson-0.46.0,
```
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
Compiler for C supports arguments -Wno-typedef-redefinition: YES
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
WARNING: Passed invalid keyword argument "name".
WARNING: This will become a hard error in the future.
Compiler for C supports arguments -Wno-gnu-variable-sized-type-not-at-end: YES
```
meson.build