about summary refs log tree commit diff
path: root/sysdeps/nptl/gai_misc.h
diff options
context:
space:
mode:
Diffstat (limited to 'sysdeps/nptl/gai_misc.h')
-rw-r--r--sysdeps/nptl/gai_misc.h4
1 files changed, 4 insertions, 0 deletions
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)