[git commit master 1/1] nptl: handle PTHREADS_DEBUG_SUPPORT properly
Bernhard Reutner-Fischer
rep.dot.nop at gmail.com
Sat Jun 12 13:40:56 UTC 2010
commit: http://git.uclibc.org/uClibc/commit/?id=dcde81f05d263c325f5fd810ce97deda1f50099c
branch: http://git.uclibc.org/uClibc/commit/?id=refs/heads/master
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop at gmail.com>
---
libpthread/nptl/Makefile.in | 7 +++----
1 files changed, 3 insertions(+), 4 deletions(-)
diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
index e22d935..7de5b77 100644
--- a/libpthread/nptl/Makefile.in
+++ b/libpthread/nptl/Makefile.in
@@ -290,13 +290,12 @@ $(top_builddir)lib/libpthread.so: $(PTHREAD_OUT)/libpthread_so.a $(libc.depend)
$(Q)echo "GROUP ( $(notdir $@).$(ABI_VERSION) libpthread_nonshared.a )" >> $@.tmp
$(Q)mv $@.tmp $@
+ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
+$(PTHREAD_OUT)/libpthread_so.a: STRIP_FLAGS:=$(STRIP_FLAGS:-x=-X --strip-debug)
+endif
$(PTHREAD_OUT)/libpthread_so.a: $(libpthread-so-y)
$(Q)$(RM) $@
-ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
- $(do_strip:-x=-X --strip-debug)
-else
$(do_strip)
-endif
$(do_ar)
$(top_builddir)lib/libpthread.a: $(libpthread-a-y)
--
1.7.1
More information about the uClibc-cvs
mailing list