On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 22 Jan 2023 20:35:09 +0000 (20:35 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 22 Jan 2023 20:35:09 +0000 (20:35 +0000)
commit0b085072e709a3e55a3b63a473d117615b41a38d
treead08d257bfc0fc5870cda10d5a50c90a27a322aa
parent46dbe4c6ea4465ce71141c01ae88bf24084e7277
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