On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 15 Feb 2025 16:24:36 +0000 (17:24 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Sat, 15 Feb 2025 16:24:36 +0000 (17:24 +0100)
commit15c5d5c84e37bee76f851182a925e04316a9036e
tree9a8a29cb9061be743ed4d66972a3263db40b8d71
parentd79fe83838c1cccade028906013b01901ba1c9f1
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2024-05-09
Forwarded: not-needed

The check_function_exists() function of cmake does not keep into account the
defines that glibc provides for the stubs (i.e. unimplemented functions that
always return ENOSYS), so some functions are detected as available.
Unfortunately, due to --fatal-warnings for the linker, linking will fail.
Hence, do not attempt to look for functions that are currently unimplemented
on GNU/Hurd's libc.

Gbp-Pq: Name hurd_disable_unimplemented.diff
src/kioworkers/file/ConfigureChecks.cmake