summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
diff options
context:
space:
mode:
Diffstat (limited to 'patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch')
-rw-r--r--patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch28
1 files changed, 28 insertions, 0 deletions
diff --git a/patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch b/patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
new file mode 100644
index 0000000..f8e8411
--- /dev/null
+++ b/patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
@@ -0,0 +1,28 @@
+commit fc643f77a3abc8743620445f47b1bade9862d45a
+Author: Khem Raj <raj.khem@gmail.com>
+Date: Fri Jun 10 13:05:34 2011 -0700
+
+ nptl/Makefile.in: Fix the build break caused by UCLIBC_CTOR_DTOR enabling
+
+ Extra / somehow does not match the target and complains that
+ $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o has no rules to
+ build
+
+ Signed-off-by: Khem Raj <raj.khem@gmail.com>
+ Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
+
+diff --git a/libpthread/nptl/Makefile.in b/libpthread/nptl/Makefile.in
+index 70616a1..92d72a6 100644
+--- a/libpthread/nptl/Makefile.in
++++ b/libpthread/nptl/Makefile.in
+@@ -64,8 +64,8 @@ endif
+ librt-so-y += $(librt_OBJS:.o=.oS) $(librt-pt-shared-only-routines-y:.o=.oS)
+
+ ifeq ($(UCLIBC_CTOR_DTOR),y)
+-START_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crti.o
+-END_FILE-libpthread.so := $(top_builddir)/libpthread/nptl/sysdeps/pthread/crtn.o
++START_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o
++END_FILE-libpthread.so := $(top_builddir)libpthread/nptl/sysdeps/pthread/crtn.o
+ LDFLAGS-libpthread.so += -nostartfiles
+ $(top_builddir)lib/libpthread.so: | $(START_FILE-libpthread.so) $(END_FILE-libpthread.so)
+ endif