Przeglądaj źródła

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

Mike Frysinger 21 lat temu
rodzic
commit
f1f7275f48
1 zmienionych plików z 3 dodań i 3 usunięć
  1. 3 3
      libpthread/linuxthreads/Makefile

+ 3 - 3
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