From: Stan Shebs Date: Tue, 23 Jan 2018 17:37:55 +0000 (-0800) Subject: Work around a weird clang link failure X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c0085baf04e7c2c25876a3488abc9c0c8e5a1987;p=thirdparty%2Fglibc.git Work around a weird clang link failure --- diff --git a/sysdeps/nptl/gai_misc.h b/sysdeps/nptl/gai_misc.h index 815e6c0dc63..8d8b5a91193 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)