On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Thu, 5 Dec 2024 09:17:23 +0000 (10:17 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 5 Dec 2024 09:17:23 +0000 (10:17 +0100)
commit6e38ad8f7a7aa9b5418b4d77717bd69f8bf61e8a
tree95601d518160de88c8144c679a140ee6a61a7de4
parentc039c9133c830fadd0f5db41f6d1a2884a741667
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