On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Fri, 25 Apr 2025 20:41:52 +0000 (22:41 +0200)
committerPatrick Franz <deltaone@debian.org>
Fri, 25 Apr 2025 20:41:52 +0000 (22:41 +0200)
commit3b9d5b5db4e75e17440a82291ee00d2db19138ba
tree243a11c561d3b282dedbaa031b526ee4c6fc021f
parent62602b724f98d54c35401494a9d8eacd1fe87ba6
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