diff options
| author | ad <ad@NetBSD.org> | 2008-02-10 18:50:54 +0000 |
|---|---|---|
| committer | ad <ad@NetBSD.org> | 2008-02-10 18:50:54 +0000 |
| commit | a67e1e347544393a4828fa21d5cf6f670590fd76 (patch) | |
| tree | c200cca9ccceecd65fe50f0b925bb5ad7831fa14 /lib/libpthread/Makefile | |
| parent | 749400b7044c2a3ca87455ac26cc1184b678a353 (diff) | |
- Remove libpthread's atomic ops.
- Remove the old spinlock-based mutex and rwlock implementations.
- Use the atomic ops from libc.
Diffstat (limited to 'lib/libpthread/Makefile')
| -rw-r--r-- | lib/libpthread/Makefile | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/lib/libpthread/Makefile b/lib/libpthread/Makefile index a9c9f6e1379..ae9521dc901 100644 --- a/lib/libpthread/Makefile +++ b/lib/libpthread/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.49 2008/01/15 03:37:14 rmind Exp $ +# $NetBSD: Makefile,v 1.50 2008/02/10 18:50:54 ad Exp $ # WARNS= 4 @@ -54,9 +54,7 @@ SRCS+= pthread_cond.c SRCS+= pthread_lock.c SRCS+= pthread_misc.c SRCS+= pthread_mutex.c -SRCS+= pthread_mutex2.c SRCS+= pthread_rwlock.c -SRCS+= pthread_rwlock2.c SRCS+= pthread_specific.c SRCS+= pthread_spin.c SRCS+= pthread_tsd.c @@ -82,10 +80,10 @@ pthread_lock.po: pthread_lock.o ${_MKTARGET_CREATE} cp pthread_lock.o pthread_lock.po -COPTS.pthread_mutex2.c+= -fomit-frame-pointer -falign-functions=32 -pthread_mutex2.po: pthread_mutex2.o +COPTS.pthread_mutex.c+= -fomit-frame-pointer -falign-functions=32 +pthread_mutex.po: pthread_mutex.o ${_MKTARGET_CREATE} - cp pthread_mutex2.o pthread_mutex2.po + cp pthread_mutex.o pthread_mutex.po COPTS.pthread.c += -Wno-stack-protector |
