aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/nptl
diff options
context:
space:
mode:
authorStan Shebs <stanshebs@google.com>2018-01-23 09:37:55 -0800
committerStan Shebs <stanshebs@google.com>2018-01-23 09:37:55 -0800
commit3f1c409c0a2af792282820e26c07befee22240f5 (patch)
tree696f367f7d06566bd42aa8a86796732c70617fd4 /sysdeps/nptl
parent2224a3d98d3b25892450c1178eb24dc694cbd3d1 (diff)
downloadglibc-3f1c409c0a2af792282820e26c07befee22240f5.zip
glibc-3f1c409c0a2af792282820e26c07befee22240f5.tar.gz
glibc-3f1c409c0a2af792282820e26c07befee22240f5.tar.bz2
Work around a weird clang link failure
Diffstat (limited to 'sysdeps/nptl')
-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 815e6c0..8d8b5a9 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)