summaryrefslogtreecommitdiff
path: root/libm/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
committerEric Andersen <andersen@codepoet.org>2003-10-18 10:07:43 +0000
commit49f0dd0fcb64746b1ef06e094f2fa8091c23637c (patch)
tree86f964fdcaea6ec3da6036b8f68aff37f4f4dc7b /libm/Makefile
parent1381777907fbd50582e7a5ecd950ca26ca56b26f (diff)
Peter Kjellerstedt writes:
install.patch: * Define $(INSTALL) as install in Rules.mak. * Change all occurrences of install into $(INSTALL). * Change all occurrences of mkdir -p into $(INSTALL) -d. install -d is already used in a number of places so this should not be an additional compatibility problem.
Diffstat (limited to 'libm/Makefile')
-rw-r--r--libm/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/libm/Makefile b/libm/Makefile
index 8dfc20d0e..200faf33e 100644
--- a/libm/Makefile
+++ b/libm/Makefile
@@ -88,9 +88,9 @@ endif
$(LIBM): ar-target
@if [ -f $(LIBM) ] ; then \
set -x -e; \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM); \
- install -m 644 $(LIBM) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBM) $(TOPDIR)lib; \
fi;
shared: all
@@ -100,9 +100,9 @@ shared: all
-o $(LIBM_SHARED_FULLNAME) --whole-archive $(LIBM) \
--no-whole-archive $(TOPDIR)/libc/misc/internals/interp.o \
-L$(TOPDIR)/lib -lc; \
- install -d $(TOPDIR)lib; \
+ $(INSTALL) -d $(TOPDIR)lib; \
rm -f $(TOPDIR)lib/$(LIBM_SHARED_FULLNAME) $(TOPDIR)lib/$(LIBM_SHARED).$(MAJOR_VERSION); \
- install -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \
+ $(INSTALL) -m 644 $(LIBM_SHARED_FULLNAME) $(TOPDIR)lib; \
(cd $(TOPDIR)lib && ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED)); \
(cd $(TOPDIR)lib && ln -sf $(LIBM_SHARED_FULLNAME) $(LIBM_SHARED).$(MAJOR_VERSION)); \
fi;