summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps/pthread
diff options
context:
space:
mode:
authorAustin Foxley <austinf@cetoncorp.com>2009-09-22 00:20:48 -0700
committerAustin Foxley <austinf@cetoncorp.com>2009-09-22 00:20:48 -0700
commit906e1a9987ce8068bc5d539496dc570d9f5ba7b3 (patch)
tree95c61d7d45ccca5e724064af0963ba07285a02e2 /libpthread/nptl/sysdeps/pthread
parentb6f255c6bfb016bbdb59614c11e4395d7845e723 (diff)
downloaduClibc-alpine-906e1a9987ce8068bc5d539496dc570d9f5ba7b3.tar.bz2
uClibc-alpine-906e1a9987ce8068bc5d539496dc570d9f5ba7b3.tar.xz
nptl/: fix .dep files not working for libpthread.a
the variable libpthread-a-y was holding %.o instead of %.os, so the .dep make rules were rebuilding the whole lib every time Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Diffstat (limited to 'libpthread/nptl/sysdeps/pthread')
-rw-r--r--libpthread/nptl/sysdeps/pthread/Makefile.in4
1 files changed, 4 insertions, 0 deletions
diff --git a/libpthread/nptl/sysdeps/pthread/Makefile.in b/libpthread/nptl/sysdeps/pthread/Makefile.in
index 0c3b52f9d..23e8ffb01 100644
--- a/libpthread/nptl/sysdeps/pthread/Makefile.in
+++ b/libpthread/nptl/sysdeps/pthread/Makefile.in
@@ -83,7 +83,11 @@ pthread_OUT := $(top_builddir)libpthread/nptl/sysdeps/pthread
pthread_SRC = $(patsubst %.c, $(pthread_DIR)/%.c, $(libpthread_CSRC))
pthread_OBJ = $(patsubst %.c, $(pthread_OUT)/%.o, $(libpthread_CSRC))
+ifeq ($(DOPIC),y)
+libpthread-a-y += $(pthread_OBJ:.o=.os)
+else
libpthread-a-y += $(pthread_OBJ)
+endif
libpthread-so-y += $(pthread_OBJ:.o=.oS)
libpthread-so-y += $(pthread_OUT)/pt-sigaction.oS $(pthread_OUT)/pt-sigprocmask.oS \
$(pthread_OUT)/unwind-forcedunwind.oS