On Hurd, do not look for functions unimplemented in libc
authorPino Toscano <pino@debian.org>
Sun, 12 Feb 2023 20:44:31 +0000 (20:44 +0000)
committerAurélien COUDERC <coucouf@debian.org>
Sun, 12 Feb 2023 20:44:31 +0000 (20:44 +0000)
commitc5a14d5941a359348bca7397f2acb2d059621ef3
treea597dad96b9205d2215ca653f95e09c2022d5eee
parent5994c4b1d94c429999bc5ab98695eae1ccb2143b
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