summaryrefslogtreecommitdiff
path: root/toolchain/uClibc/patches/150-portability.patch
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2007-04-01 11:43:11 +0000
committerFelix Fietkau <nbd@openwrt.org>2007-04-01 11:43:11 +0000
commitd651ee4602816fc9856e58c9794ad1b72281d134 (patch)
tree5c8bc20a5357464fdedc4e74b4592f3de38959ad /toolchain/uClibc/patches/150-portability.patch
parentaef8f80a3ac507da5b66f14bfc0f3ef0306d63e9 (diff)
downloadmtk-20170518-d651ee4602816fc9856e58c9794ad1b72281d134.zip
mtk-20170518-d651ee4602816fc9856e58c9794ad1b72281d134.tar.gz
mtk-20170518-d651ee4602816fc9856e58c9794ad1b72281d134.tar.bz2
Fix portability patch for uClibc. 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
Diffstat (limited to 'toolchain/uClibc/patches/150-portability.patch')
-rw-r--r--toolchain/uClibc/patches/150-portability.patch2
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/uClibc/patches/150-portability.patch b/toolchain/uClibc/patches/150-portability.patch
index 71afd50..c3a8510 100644
--- a/toolchain/uClibc/patches/150-portability.patch
+++ b/toolchain/uClibc/patches/150-portability.patch
@@ -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); \