On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Fri, 10 Jan 2025 22:25:32 +0000 (23:25 +0100)
committerAurélien COUDERC <coucouf@debian.org>
Fri, 10 Jan 2025 22:25:32 +0000 (23:25 +0100)
commite94fbe19bb16f17217f612c25eed4924a1ea1590
tree8aced45cdb381a291cc825051a75f3813598f6d9
parent73d0b5dc52d14e17f54589c8b5259da919e47317
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