Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/newlib
diff options
context:
space:
mode:
authorJeff Johnston <jjohnstn@redhat.com>2001-08-29 23:55:20 +0400
committerJeff Johnston <jjohnstn@redhat.com>2001-08-29 23:55:20 +0400
commitf29865c5ffb5ac44a340f7cb83a56f2669af2c34 (patch)
treed2ef3632bfe03752b72a2667c800e55b5be8e058 /newlib
parent9e2a4ef876d6a0749af136d08e334adfec01f906 (diff)
2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
* Makefile.am: Add check for ln failing when creating libg.a so that cp gets used as a backup. * Makefile.in: Regenerated.
Diffstat (limited to 'newlib')
-rw-r--r--newlib/ChangeLog6
-rw-r--r--newlib/Makefile.am4
-rw-r--r--newlib/Makefile.in4
3 files changed, 10 insertions, 4 deletions
diff --git a/newlib/ChangeLog b/newlib/ChangeLog
index a14669c0b..e136405bf 100644
--- a/newlib/ChangeLog
+++ b/newlib/ChangeLog
@@ -1,5 +1,11 @@
2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
+ * Makefile.am: Add check for ln failing when creating libg.a
+ so that cp gets used as a backup.
+ * Makefile.in: Regenerated.
+
+2001-08-29 Jeff Johnston <jjohnstn@redhat.com>
+
* libc/include/sys/reent.h: Add include of <sys/_types.h>.
No longer include time.h. Add struct __tm to use for
_localtime_buf in the reentrant structure. Add a
diff --git a/newlib/Makefile.am b/newlib/Makefile.am
index 5e7c0fcd4..b00d9265b 100644
--- a/newlib/Makefile.am
+++ b/newlib/Makefile.am
@@ -81,7 +81,7 @@ libc.a: libc/libc.a libm.a
$(AR) x ../libc/libc.a ; \
$(AR) $(AR_FLAGS) ../$@ *.o
$(RANLIB) libc.a
- ln libc.a libg.a
+ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
rm -rf tmp
libc/libc.a: ; @true
@@ -128,7 +128,7 @@ CLEANFILES = targ-include stmp-targ-include
install-data-local: install-toollibLIBRARIES
rm -f $(DESTDIR)$(toollibdir)/libg.a
- ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
+ ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/null 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
-if [ -z "$(MULTISUBDIR)" ]; then \
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \
diff --git a/newlib/Makefile.in b/newlib/Makefile.in
index 2ed1c5b7e..7284d1ef5 100644
--- a/newlib/Makefile.in
+++ b/newlib/Makefile.in
@@ -516,7 +516,7 @@ libc.a: libc/libc.a libm.a
$(AR) x ../libc/libc.a ; \
$(AR) $(AR_FLAGS) ../$@ *.o
$(RANLIB) libc.a
- ln libc.a libg.a
+ ln libc.a libg.a >/dev/null 2>/dev/null || cp libc.a libg.a
rm -rf tmp
libc/libc.a: ; @true
@@ -561,7 +561,7 @@ stmp-targ-include: config.status
install-data-local: install-toollibLIBRARIES
rm -f $(DESTDIR)$(toollibdir)/libg.a
- ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
+ ln $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a >/dev/null 2>/dev/null || cp $(DESTDIR)$(toollibdir)/libc.a $(DESTDIR)$(toollibdir)/libg.a
$(MULTIDO) $(AM_MAKEFLAGS) DO=install multi-do
-if [ -z "$(MULTISUBDIR)" ]; then \
$(mkinstalldirs) $(DESTDIR)$(tooldir)/include; \