diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h index 815e6c0dc6..8d8b5a9119 100644 --- a/sysdeps/nptl/gai_misc.h +++ b/sysdeps/nptl/gai_misc.h @@ -74,7 +74,11 @@ #define gai_start_notify_thread __gai_start_notify_thread +/* For some reason, with clang this define causes a linktime failure + building libanl.so. */ +#ifndef __clang__ #define gai_create_helper_thread __gai_create_helper_thread +#endif extern inline void __gai_start_notify_thread (void)