On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Thu, 15 Dec 2022 20:53:23 +0000 (20:53 +0000)
committerPino Toscano <pino@debian.org>
Thu, 15 Dec 2022 20:53:23 +0000 (20:53 +0000)
commit25b594cec35441344cce5747480759001e2bccf9
tree66b36d50393c39c47664cafd12c71c74233d3d2a
parent8fdc7ea37bc9ad95fec45b3b8924f133da3ff786
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