meson: switch to cc.get_supported_arguments
authorDylan Baker <dylan@pnwbakers.com>
Wed, 19 Jan 2022 18:43:04 +0000 (10:43 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 20 Jan 2022 18:07:55 +0000 (10:07 -0800)
commiteaf234c1489f53035fba1698c1a27781f5755be6
tree8a5fab3aa4b1513074919f70fa10cd6e791f28f1
parent6b0b493555af7ef9374d6b2e7feafd848090d6e7
meson: switch to cc.get_supported_arguments

This is generally faster, as meson is able to parallelize the checks for
us.

This also removes the workaround for checking gcc/clang -Wno-*
arguments, which meson now handles internally so we don't need to handle
it ourselves.

Signed-off-by: Dylan Baker <dylan@pnwbakers.com>
Reviewed-by: Simon Ser <contact@emersion.fr>
meson.build