On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Mon, 21 Nov 2022 08:13:21 +0000 (08:13 +0000)
committerPino Toscano <pino@debian.org>
Mon, 21 Nov 2022 08:13:21 +0000 (08:13 +0000)
commit858f1f7f8bc28f3652d60058531f7a1ceb028f5b
tree38335fa59e1b6b58dd32b4336fb60c9832bdb4f8
parent674041da47b7ef54f508bb063573a6829f655c31
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