On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Fri, 6 Sep 2024 21:12:57 +0000 (23:12 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Fri, 6 Sep 2024 21:12:57 +0000 (23:12 +0200)
commitf8bad5dc7a9bd65bf41c5547809ec74fc8af6551
tree5a695ef19165804077855da3f6c1510f5090b7b3
parent1bc0c0097279979cf357d8114118a080e70c5a0f
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