diff mbox

[uclibc-ng-devel] uClibc-ng - small C library for embedded systems branch master updated. v1.0.17-4-g9725c0b

Message ID 20160816204432.0C697100DB@helium.openadk.org
State Not Applicable
Headers show

Commit Message

wbx Aug. 16, 2016, 8:44 p.m. UTC
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "uClibc-ng - small C library for embedded systems".

The branch, master has been updated
       via  9725c0b6e4fda2db5c5aac0888d64dc97c69a332 (commit)
      from  c61570ac32f052e050c46838ea5ab60de5836f8e (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 9725c0b6e4fda2db5c5aac0888d64dc97c69a332
Author: Waldemar Brodkorb <wbx@uclibc-ng.org>
Date:   Tue Aug 16 22:08:25 2016 +0200

    linuxthreads: install libpthread_nonshared.a
    
    This is useful to build native gcc on targets supporting
    Linuxthreads instead of NPTL.

-----------------------------------------------------------------------

Summary of changes:
 libpthread/linuxthreads/Makefile.in | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)



hooks/post-receive
diff mbox

Patch

diff --git a/libpthread/linuxthreads/Makefile.in b/libpthread/linuxthreads/Makefile.in
index 5b7d559..47c45ef 100644
--- a/libpthread/linuxthreads/Makefile.in
+++ b/libpthread/linuxthreads/Makefile.in
@@ -67,10 +67,13 @@  libpthread-so-y += $(libpthread_OBJ:.o=.oS)
 lib-a-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.a
 lib-so-$(UCLIBC_HAS_THREADS) += $(top_builddir)lib/libpthread.so
 
-$(top_builddir)lib/libpthread.so: $(libpthread_OUT)/libpthread_so.a $(libc.depend)
+$(top_builddir)lib/libpthread.so: $(libpthread_OUT)/libpthread_so.a $(libc.depend) $(top_builddir)lib/libpthread_nonshared.a
 	$(call link.so,$(libpthread_FULL_NAME),$(ABI_VERSION))
 	# link for backward compatibility
 	$(call link.so,$(libpthread_FULL_NAME),0)
+	$(Q)cat $(top_srcdir)extra/scripts/format.lds > $@.tmp
+	$(Q)echo "GROUP ( $(notdir $@).$(ABI_VERSION) libpthread_nonshared.a )" >> $@.tmp
+	$(Q)mv $@.tmp $@
 
 ifeq ($(PTHREADS_DEBUG_SUPPORT),y)
 $(libpthread_OUT)/libpthread_so.a: STRIP_FLAGS:=$(STRIP_FLAGS:-x=-X --strip-debug)