aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-11-18 17:02:37 +0000
committerUlrich Drepper <drepper@redhat.com>1998-11-18 17:02:37 +0000
commit97dac76c11e1317222fb09913d695bab51ba7b3c (patch)
tree8fd24c01d5f80e3ad8d97dbe8f261b250f7d7fef /linuxthreads/Makefile
parentdfd2464b33ddfcd2706191a340d1737548c5ed19 (diff)
downloadglibc-97dac76c11e1317222fb09913d695bab51ba7b3c.zip
glibc-97dac76c11e1317222fb09913d695bab51ba7b3c.tar.gz
glibc-97dac76c11e1317222fb09913d695bab51ba7b3c.tar.bz2
Update.
1998-11-18 Ulrich Drepper <drepper@cygnus.com> * Makefile (CFLAGS-mutex.c): Define as -D__NO_WEAK_PTHREAD_ALIASES. (CFLAGS-specific.c): Likewise. (CFLAGS-pthread.c): Likewise. (CFLAGS-ptfork.c): Likewise. (CFLAGS-cancel.c): Likewise. * sysdeps/pthread/bits/libc-lock.h: Don't mark __pthread_* functions as weak references if __NO_WEAK_PTHREAD_ALIASES is defined. * mutex.c (pthread_mutex_init): Define as strong symbol. (pthread_mutex_destroy): Likewise. (pthread_mutex_trylock): Likewise. (pthread_mutex_lock): Likewise. (pthread_mutex_unlock): Likewise. (pthread_mutexattr_init): Likewise. (pthread_mutexattr_destroy): Likewise. (pthread_once): Likewise. * ptfork.c (pthread_atfork): Likewise. * specific.c (pthread_key_create): Likewise. (pthread_setspecific): Likewise. (pthread_getspecific): Likewise.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index c8da948..aad7106 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -41,6 +41,12 @@ tests = ex1 ex2 ex3 ex4 ex5 ex6
include ../Rules
+CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-specific.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES
+
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.
# This ensures they will load libc.so for needed symbols if loaded by
# a statically-linked program that hasn't already loaded it.