patches/uClibc/0.9.32/110-nptl-Makefile.in-Fix-the-build-break-caused-by-UCLIBC_CTOR_DTOR-enabling.patch
Allow multi-word "install" command.
Autoconf can determine that the correct install command includes flags,
e.g., "/usr/bin/install -c". When using this as a command, we can't
enclose the value in double-quotes, as that makes some shells use the
whole expression as a filename:
# this is the value returned by autoconf and stored in CT_install
$ ins="/usr/bin/install -c"
# if we call it with quotes, the command is not found
$ "${ins}"
bash: /usr/bin/install -c: No such file or directory
# removing the quotes lets it work as expected
$ ${ins}
/usr/bin/install: missing file operand
Try `/usr/bin/install --help' for more information.
Signed-Off-By: Anthony Foiani <anthony.foiani@gmail.com>
1 commit fc643f77a3abc8743620445f47b1bade9862d45a
2 Author: Khem Raj <raj.khem@gmail.com>
3 Date: Fri Jun 10 13:05:34 2011 -0700
5 nptl/Makefile.in: Fix the build break caused by UCLIBC_CTOR_DTOR enabling
7 Extra / somehow does not match the target and complains that
8 $(top_builddir)libpthread/nptl/sysdeps/pthread/crti.o has no rules to
11 Signed-off-by: Khem Raj <raj.khem@gmail.com>
12 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
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)
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)