summaryrefslogtreecommitdiff
path: root/libpthread
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-01-19 03:58:57 +0000
committerMike Frysinger <vapier@gentoo.org>2005-01-19 03:58:57 +0000
commitf1f7275f48589bf3bde3dbb40f95e25456617052 (patch)
tree5b179c2856a94535843ea262eb8b92ace428a3f3 /libpthread
parent1026731d290ea0fb5bf100b97451fe09877b364b (diff)
ok, worry over race condition doesnt exist because we only have 1 subdir running $(AR), and the toplevel $(AR) isnt invoked until subdirs have finished
Diffstat (limited to 'libpthread')
-rw-r--r--libpthread/linuxthreads/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/libpthread/linuxthreads/Makefile b/libpthread/linuxthreads/Makefile
index 49bb04791..35b8ad50c 100644
--- a/libpthread/linuxthreads/Makefile
+++ b/libpthread/linuxthreads/Makefile
@@ -21,6 +21,9 @@
TOPDIR=../../
include $(TOPDIR)Rules.mak
+# As long as there is only one subdir, we don't
+# have to worry about race conditions with multiple
+# $(AR)'s running on linuxthreads.a
DIRS = sysdeps
#Adjust the soname version to avoid namespace collisions with glibc's libpthread
@@ -57,9 +60,6 @@ endif
COBJS=$(patsubst %.c,%.o, $(CSRC))
OBJS=$(COBJS)
-# TODO: fix race condition between subdirs and $(OBJS).
-# only applies to pt-machine.o and sh64.
-
all: $(LIBPTHREAD)
$(LIBPTHREAD) ar-target: $(OBJS) subdirs