[PATCH] meson.build: make special_funcs check more reliable
authorGiulio Benetti <giulio.benetti@benettiengineering.com>
Fri, 25 Apr 2025 17:00:14 +0000 (19:00 +0200)
committerLaszlo Boszormenyi (GCS) <gcs@debian.org>
Sun, 27 Apr 2025 06:10:01 +0000 (08:10 +0200)
commit123f59c241da6eac73f4bb47eec373a1b43900d7
tree540a0f3cd6701a2c3e4e269674d6acdb63d2875f
parent29d8d03cace60c3731bb5ab832560f0c7ea03a68
[PATCH] meson.build: make special_funcs check more reliable

Unfortunately while cross-compiling with build tools like Buildroot it
happens to have repeated flags or anything that could lead to a warning.
This way the check fails because of a warning not related to the special
function. So let's use cc.links() and increase minimum meson_version to
0.60 since cc.links() has been added during that version.

Signed-off-by: Giulio Benetti <giulio.benetti@benettiengineering.com>
Gbp-Pq: Name meson.build-make-special_funcs-check-more-reliable.patch
meson.build