From 3f488b9cddc0a49b0860a3714eb7a77019482d38 Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Thu, 2 Dec 2004 22:55:30 +0000 Subject: * extra-lib.mk (object-suffixes-$(lib)): Add .oS when $(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. --- nptl/Makefile | 9 --------- 1 file changed, 9 deletions(-) (limited to 'nptl/Makefile') diff --git a/nptl/Makefile b/nptl/Makefile index c103503582..f9993dd1fd 100644 --- a/nptl/Makefile +++ b/nptl/Makefile @@ -125,8 +125,6 @@ libpthread-routines = init vars events version \ libpthread-shared-only-routines = version pt-allocrtsig unwind-forcedunwind libpthread-static-only-routines = pthread_atfork -libpthread-nonshared = pthread_atfork - CFLAGS-pthread_atfork.c = -DNOT_IN_libc # Since cancellation handling is in large parts handled using exceptions @@ -301,13 +299,8 @@ $(test-modules): $(objpfx)%.so: $(objpfx)%.os $(common-objpfx)shlib.lds ifeq ($(build-shared),yes) # Build all the modules even when not actually running test programs. tests: $(test-modules) - -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. @@ -378,8 +371,6 @@ $(inst_libdir)/libpthread.so: $(common-objpfx)format.lds \ ')' \ ) > $@.new mv -f $@.new $@ -$(inst_libdir)/libpthread_nonshared.a: $(objpfx)libpthread_nonshared.a - $(do-install) endif -- cgit 1.4.1