[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)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 16 May 2025 19:59:04 +0000 (19:59 +0000)
commit311c0d756ef6b960e397c364f94fc37d8f0767a0
tree9d6b6abe11a1232e0938eb5c4e9d997cadbcf15c
parent656dfcf970f0119e6b28fd53f76cf1aabb39149c
[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