On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Mon, 26 Aug 2024 04:44:17 +0000 (06:44 +0200)
committerPino Toscano <pino@debian.org>
Mon, 26 Aug 2024 04:44:17 +0000 (06:44 +0200)
commit38fbd32e0d7b04b42b973ae2e94cc6c4489f6846
tree941e9234bcde048c8fbe2fe74635b3353719b56c
parent5a82f69ea8bd1fe5253479e8a3f971f00f6abc8f
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