diff options
author | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-23 18:12:32 -0500 |
---|---|---|
committer | Richard Kenner <kenner@gcc.gnu.org> | 1993-12-23 18:12:32 -0500 |
commit | cfc327a27190a0e4c537e7e1f9ab15db359667cf (patch) | |
tree | 5215fb1c152a85bf4fb3ff09a4d817d3d0dd3cb4 | |
parent | c1a9a99cd0d46c717c342077e1a910cdfb611096 (diff) | |
download | gcc-cfc327a27190a0e4c537e7e1f9ab15db359667cf.zip gcc-cfc327a27190a0e4c537e7e1f9ab15db359667cf.tar.gz gcc-cfc327a27190a0e4c537e7e1f9ab15db359667cf.tar.bz2 |
(libgcc.a): Allow chmod of tmpcopy directory to fail since it can be
empty.
From-SVN: r6286
-rw-r--r-- | gcc/Makefile.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index c909322..c034fda 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -751,7 +751,7 @@ libgcc.a: $(LIBGCC1) $(LIBGCC2) # unwritable table of contents file, and then print an error message when # the second ar command tries to overwrite this file. To avoid the error # message from ar, we make sure all files are writable. - (cd tmpcopy; chmod +w * > /dev/null 2>&1) + -(cd tmpcopy; chmod +w * > /dev/null 2>&1) (cd tmpcopy; $(AR) x ../$(LIBGCC2)) (cd tmpcopy; $(AR) $(AR_FLAGS) ../tmplibgcc.a *.o) rm -rf tmpcopy |