On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Fri, 15 Nov 2024 07:30:48 +0000 (07:30 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Fri, 15 Nov 2024 07:30:48 +0000 (07:30 +0000)
commita4e9a1d6ad3c8f585cc5baf39ba469f80a2da7c4
treece4959705ed49208be9b87a54624df861d12bdbc
parentfebc47771742e414291f518ba987de2f5eeab490
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