On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 13 Apr 2025 07:16:12 +0000 (09:16 +0200)
committerPino Toscano <pino@debian.org>
Sun, 13 Apr 2025 07:16:12 +0000 (09:16 +0200)
commit20457fd079c90be2e23305e52904b4547a2738f2
tree5fe7d3ade0c00fc22010e35f987e5eb5e16131ba
parenta80dbecfd689adf09a67a2384597a9320e11702d
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