On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Tue, 17 Sep 2024 02:47:46 +0000 (02:47 +0000)
committerPeter Michael Green <plugwash@raspbian.org>
Tue, 17 Sep 2024 02:47:46 +0000 (02:47 +0000)
commit3f71d2f3d41ac294d9198bb40a12955af2ba24d0
treed107e7eeddf3ca27833a953ffccbfb745441edb6
parent315ccd9d9e311c5d0c79c17dc56f1ec12afb9feb
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