On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Thu, 23 May 2024 21:13:17 +0000 (23:13 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Thu, 23 May 2024 21:13:17 +0000 (23:13 +0200)
commit67cbe3cf2e2faa7da880519decb8fcdb96835d6d
tree77cbab740a317b07b13c5b13bbf067a78fb8a3ff
parent093a3c81305e54b6ae5c376735d58560f1cc8c00
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