From 5db304abacd754e47aaca008bf78e27b03be4a78 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sat, 1 Jan 2005 20:28:21 +0000 Subject: Amir Shalem writes: here are few patches for better compatability in ./Makefile: cp.diff - use portable (POSIX) way to specfic --no-dereference (-d) --- Makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index 9f8ff902a..9fac2d363 100644 --- a/Makefile +++ b/Makefile @@ -231,7 +231,7 @@ ifeq ($(strip $(HAVE_SHARED)),y) $(INSTALL) -d $(PREFIX)$(RUNTIME_PREFIX)lib $(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 @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ set -x -e; \ $(INSTALL) -m 755 lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ @@ -346,7 +346,7 @@ distclean: clean release: distclean cd ..; \ $(RM) -r uClibc-$(VERSION); \ - cp -dRf uClibc uClibc-$(VERSION); \ + cp -PRf uClibc uClibc-$(VERSION); \ find uClibc-$(VERSION)/ -type f \ -name .\#* -exec $(RM) -r {} \; ; \ find uClibc-$(VERSION)/ -type d \ -- cgit v1.2.3