diff options
author | Stan Shebs <stanshebs@google.com> | 2018-01-23 09:37:55 -0800 |
---|---|---|
committer | Stan Shebs <stanshebs@google.com> | 2018-01-24 16:03:40 -0800 |
commit | c0085baf04e7c2c25876a3488abc9c0c8e5a1987 (patch) | |
tree | 46ce21c194cee74d6f419cda7ba2aad5347176b0 | |
parent | eb218d6b8ba4c32b61c02929ed1fd39f925fd176 (diff) | |
download | glibc-c0085baf04e7c2c25876a3488abc9c0c8e5a1987.tar.gz glibc-c0085baf04e7c2c25876a3488abc9c0c8e5a1987.tar.xz glibc-c0085baf04e7c2c25876a3488abc9c0c8e5a1987.zip |
Work around a weird clang link failure
-rw-r--r-- | sysdeps/nptl/gai_misc.h | 4 |
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) |