patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
changeset 2612 a52574521bea
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch	Thu Aug 18 16:05:48 2011 +0200
     1.3 @@ -0,0 +1,28 @@
     1.4 +commit fc643f77a3abc8743620445f47b1bade9862d45a
     1.5 +Author: Khem Raj <raj.khem@gmail.com>
     1.6 +Date:   Fri Jun 10 13:05:34 2011 -0700
     1.7 +
     1.8 +    nptl/Makefile.in: Fix the build break caused by UCLIBC_CTOR_DTOR enabling
     1.9 +    
    1.10 +    Extra / somehow does not match the target and complains that
    1.11 +    $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o has no rules to
    1.12 +    build
    1.13 +    
    1.14 +    Signed-off-by: Khem Raj <raj.khem@gmail.com>
    1.15 +    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    1.16 +
    1.17 +diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
    1.18 +index 70616a1..92d72a6 100644
    1.19 +--- a/libpthread/nptl/Makefile.in
    1.20 ++++ b/libpthread/nptl/Makefile.in
    1.21 +@@ -64,8 +64,8 @@ endif
    1.22 + librt-so-y += $(librt_OBJS:.o=.oS) $(librt-pt-shared-only-routines-y:.o=.oS)
    1.23 + 
    1.24 + ifeq ($(UCLIBC_CTOR_DTOR),y)
    1.25 +-START_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crti.o
    1.26 +-END_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crtn.o
    1.27 ++START_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o
    1.28 ++END_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crtn.o
    1.29 + LDFLAGS-libpthread.so += -nostartfiles
    1.30 + $(top_builddir)lib/libpthread.so: | $(START_FILE-libpthread.so) $(END_FILE-libpthread.so)
    1.31 + endif