From f29865c5ffb5ac44a340f7cb83a56f2669af2c34 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Wed, 29 Aug 2001 19:55:20 +0000 Subject: 2001-08-29 Jeff Johnston * Makefile.am: Add check for ln failing when creating libg.a so that cp gets used as a backup. * Makefile.in: Regenerated. --- newlib/Makefile.am | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'newlib/Makefile.am') diff --git a/newlib/Makefile.am b/newlib/Makefile.am index 5e7c0fc..b00d926 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; \ -- cgit v1.1