Fix portability patch for uClibc.
authorFelix Fietkau <nbd@openwrt.org>
Sun, 1 Apr 2007 11:43:11 +0000 (11:43 +0000)
committerFelix Fietkau <nbd@openwrt.org>
Sun, 1 Apr 2007 11:43:11 +0000 (11:43 +0000)
Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already.
Fixes build on OSX with fink's fileutils installed.

SVN-Revision: 6784

toolchain/uClibc/patches/150-portability.patch

index 71afd50..c3a8510 100644 (file)
@@ -23,7 +23,7 @@ Fix portability of build infrastructure
        $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \
                $(PREFIX)$(RUNTIME_PREFIX)lib
 -      cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
-+      cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
++      cp -pRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib
        @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \
            set -e; \
                $(SHELL_SET_X); \