On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sat, 12 Apr 2025 22:42:51 +0000 (00:42 +0200)
committerAurélien COUDERC <coucouf@debian.org>
Sat, 12 Apr 2025 22:42:51 +0000 (00:42 +0200)
commit605718aa9c6ea5605fe871c1867ffc6b921e096f
tree052799d6ba4dca6c4289b69b05c4ca93a7d71ddb
parentb119ae12053444799fb420f41cb6d011efcdbcf2
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