commit
2ca42af6c07afed6a5e94e8e3c889c728869fd2f
Author: Samuel Thibault <samuel.thibault@ens-lyon.org>
Date: Mon Oct 17 02:30:14 2016 +0200
Fix too weak references when linking libpthread statically
* sysdeps/pthread/libc-lockP.h [IS_IN (libpthread)]: Do not make __pthread
symbols weak.
Gbp-Pq: Topic hurd-i386
Gbp-Pq: Name cvs-libpthread-static-weak.diff
/* Make the pthread functions weak so that we can elide them from
single-threaded processes. */
-#ifndef __NO_WEAK_PTHREAD_ALIASES
+#if !defined(__NO_WEAK_PTHREAD_ALIASES) && !IS_IN (libpthread)
# ifdef weak_extern
weak_extern (__pthread_mutex_init)
weak_extern (__pthread_mutex_destroy)