From c0085baf04e7c2c25876a3488abc9c0c8e5a1987 Mon Sep 17 00:00:00 2001 From: Stan Shebs Date: Tue, 23 Jan 2018 09:37:55 -0800 Subject: Work around a weird clang link failure --- sysdeps/nptl/gai_misc.h | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit 1.4.1