[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>
Wed, 16 Jul 2025 17:27:21 +0000 (17:27 +0000)
commit5e6425ac9db35d66dee64b4e844d900517be25f1
treeaedf1810f01b6c90fb0923a6519d374b804bfe05
parent84bf96e6fe3f8944397b4eefe716fd607a3b9ee4
[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