aboutsummaryrefslogtreecommitdiff
path: root/linuxthreads
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2001-03-20 21:05:29 +0000
committerUlrich Drepper <drepper@redhat.com>2001-03-20 21:05:29 +0000
commit481b550f585164c7faef0075aa10e34b57959e1e (patch)
tree99a92c9382037502b65acb4e1316be0c441bb03b /linuxthreads
parentf1e4a4a403f740c153acfc0cd96ecc5aa542e341 (diff)
downloadglibc-481b550f585164c7faef0075aa10e34b57959e1e.tar
glibc-481b550f585164c7faef0075aa10e34b57959e1e.tar.gz
glibc-481b550f585164c7faef0075aa10e34b57959e1e.tar.bz2
glibc-481b550f585164c7faef0075aa10e34b57959e1e.zip
Update.
* Makefile: Define -D_RPC_THREAD_SAFE_ for cancel.c.
Diffstat (limited to 'linuxthreads')
-rw-r--r--linuxthreads/ChangeLog1
-rw-r--r--linuxthreads/Makefile2
2 files changed, 2 insertions, 1 deletions
diff --git a/linuxthreads/ChangeLog b/linuxthreads/ChangeLog
index d895b73280..6ad4a7bead 100644
--- a/linuxthreads/ChangeLog
+++ b/linuxthreads/ChangeLog
@@ -1,5 +1,6 @@
2001-03-20 Ulrich Drepper <drepper@redhat.com>
+ * Makefile: Define -D_RPC_THREAD_SAFE_ for cancel.c.
* cancel.c (__pthread_perform_cleanup): Call __rpc_thread_destroy.
* sysdeps/pthread/bits/libc-tsd.h: Define _LIBC_TSD_KEY_VARS.
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index d88af80f5a..99bdb73cf4 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -70,7 +70,7 @@ CFLAGS-mutex.c += -D__NO_WEAK_PTHREAD_ALIASES
CFLAGS-specific.c += -D__NO_WEAK_PTHREAD_ALIASES
CFLAGS-pthread.c += -D__NO_WEAK_PTHREAD_ALIASES $(znodelete-$(have-z-nodelete))
CFLAGS-ptfork.c += -D__NO_WEAK_PTHREAD_ALIASES
-CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES
+CFLAGS-cancel.c += -D__NO_WEAK_PTHREAD_ALIASES -D_RPC_THREAD_SAFE_
CFLAGS-unload.c += -DPREFIX=\"$(objpfx)\"
# Depend on libc.so so a DT_NEEDED is generated in the shared objects.