meson: use cc.has_function_attribute instead of open coding
It's less code, and also allows meson to short circuit for compilers is knows don't support this. Signed-off-by: Dylan Baker <dylan@pnwbakers.com> Reviewed-by: Simon Ser <contact@emersion.fr>
Loading
Please register or sign in to comment