patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
author "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
Tue Aug 02 18:26:53 2011 +0200 (2011-08-02)
changeset 2592 4908eb2b6f17
permissions -rw-r--r--
scripts/functions: cvs retrieval first tries the mirror for tarballs

The cvs download helper looks for the local tarballs dir to see if it
can find a pre-downloaded tarball, and if it does not find it, does
the actual fetch to upstream via cvs.

In the process, it does not even try to get a tarball from the local
mirror, which can be useful if the mirror has been pre-populated
manually (or with a previously downloaded tree).

Fake a tarball get with the standard tarball-download helper, but
without specifying any upstream URL, which makes the helper directly
try the LAN mirror.

Of course, if no mirror is specified, no URL wil be available, and
the standard cvs retrieval will kick in.

Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
     1 commit fc643f77a3abc8743620445f47b1bade9862d45a
     2 Author: Khem Raj <raj.khem@gmail.com>
     3 Date:   Fri Jun 10 13:05:34 2011 -0700
     4 
     5     nptl/Makefile.in: Fix the build break caused by UCLIBC_CTOR_DTOR enabling
     6     
     7     Extra / somehow does not match the target and complains that
     8     $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o has no rules to
     9     build
    10     
    11     Signed-off-by: Khem Raj <raj.khem@gmail.com>
    12     Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    13 
    14 diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
    15 index 70616a1..92d72a6 100644
    16 --- a/libpthread/nptl/Makefile.in
    17 +++ b/libpthread/nptl/Makefile.in
    18 @@ -64,8 +64,8 @@ endif
    19  librt-so-y += $(librt_OBJS:.o=.oS) $(librt-pt-shared-only-routines-y:.o=.oS)
    20  
    21  ifeq ($(UCLIBC_CTOR_DTOR),y)
    22 -START_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crti.o
    23 -END_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crtn.o
    24 +START_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o
    25 +END_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crtn.o
    26  LDFLAGS-libpthread.so += -nostartfiles
    27  $(top_builddir)lib/libpthread.so: | $(START_FILE-libpthread.so) $(END_FILE-libpthread.so)
    28  endif