On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 18 Aug 2024 14:18:55 +0000 (16:18 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 18 Aug 2024 14:18:55 +0000 (16:18 +0200)
commit82e6318a050d415ee4c78758f9a0fd3a47391510
tree3ea570c61570362995fa7846b66e747653ba3efe
parent28c02f52dc087f8ea27afd4e6af9c38753a0858f
On Hurd, do not look for functions unimplemented in libc

Last-Update: 2022-02-22
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/ioslaves/file/ConfigureChecks.cmake