about summary refs log tree commit diff
path: root/linuxthreads/Makefile
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2004-12-02 22:55:30 +0000
committerRoland McGrath <roland@gnu.org>2004-12-02 22:55:30 +0000
commit3f488b9cddc0a49b0860a3714eb7a77019482d38 (patch)
tree883d896747cf2c687083528e4610078e234c1528 /linuxthreads/Makefile
parentb78ad5fd49ddfbe2e74aa6f00afbe992399c0efe (diff)
downloadglibc-3f488b9cddc0a49b0860a3714eb7a77019482d38.tar.gz
glibc-3f488b9cddc0a49b0860a3714eb7a77019482d38.tar.xz
glibc-3f488b9cddc0a49b0860a3714eb7a77019482d38.zip
* extra-lib.mk (object-suffixes-$(lib)): Add .oS when cvs/fedora-glibc-20041203T0935
	$(lib)-static-only-routines is nonempty.
	(extra-objs, o-iterator.mk rule): Filter out .oS from generators.
	Add a special rule for .oS objects -> _nonshared.a library.
Diffstat (limited to 'linuxthreads/Makefile')
-rw-r--r--linuxthreads/Makefile11
1 files changed, 0 insertions, 11 deletions
diff --git a/linuxthreads/Makefile b/linuxthreads/Makefile
index a6689bb4a0..3f06c41276 100644
--- a/linuxthreads/Makefile
+++ b/linuxthreads/Makefile
@@ -63,8 +63,6 @@ omit-deps = $(unix-syscalls:%=ptw-%)
 libpthread-shared-only-routines = pt-allocrtsig
 libpthread-static-only-routines = pthread_atfork
 
-libpthread-nonshared = pthread_atfork
-
 linuxthreads-CPPFLAGS = -DIS_IN_linuxthreads=1
 
 CFLAGS-pthread_atfork.c = -DNOT_IN_libc
@@ -82,13 +80,6 @@ CFLAGS-tst-cancel.c = -fno-inline -fno-inline-functions
 include ../Makeconfig
 
 ifeq ($(build-shared),yes)
-others: $(objpfx)libpthread_nonshared.a
-endif
-
-$(objpfx)libpthread_nonshared.a: $(addprefix $(objpfx),$(addsuffix .os,$(libpthread-nonshared)))
-	$(AR) $(ARFLAGS) $@ $^
-
-ifeq ($(build-shared),yes)
 
 # Set the `multidir' variable by grabbing the variable from the compiler.
 # We do it once and save the result in a generated makefile.
@@ -180,8 +171,6 @@ $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \
 	      ')' \
 	) > $@.new
 	mv -f $@.new $@
-$(inst_libdir)/libpthread_nonshared.a: $(objpfx)libpthread_nonshared.a
-	$(do-install)
 
 
 extra-B-pthread.so = -B$(common-objpfx)linuxthreads/