diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-07-18 01:19:40 +0000 |
---|---|---|
committer | Jeff Law <law@gcc.gnu.org> | 1999-07-17 19:19:40 -0600 |
commit | 50908fadbb3fa0f2866c9625d8f31d8618567f6e (patch) | |
tree | 318e17acd54c829fcb7559843b21ae377216e7c9 /gcc | |
parent | f4e5e9bcfc6798f2b29bb4036fb203ee4229953d (diff) | |
download | gcc-50908fadbb3fa0f2866c9625d8f31d8618567f6e.zip gcc-50908fadbb3fa0f2866c9625d8f31d8618567f6e.tar.gz gcc-50908fadbb3fa0f2866c9625d8f31d8618567f6e.tar.bz2 |
Makefile.in (stmp-multilib-sub): Make the files extracted from $(LIBGCC1) writable.
* Makefile.in (stmp-multilib-sub): Make the files extracted
from $(LIBGCC1) writable.
From-SVN: r28145
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/Makefile.in | 5 |
2 files changed, 10 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 79ce256..91c2c89 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +1999-07-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * Makefile.in (stmp-multilib-sub): Make the files extracted + from $(LIBGCC1) writable. + Sat Jul 17 14:25:46 1999 Nick Clifton <nickc@cygnus.com> * config/arm/aout.h: Reformat for improved readability. diff --git a/gcc/Makefile.in b/gcc/Makefile.in index e5ceefe..302648a 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -1245,6 +1245,11 @@ stmp-multilib-sub: then (cd tmpcopy; $(AR_FOR_TARGET) x ../$(LIBGCC1)); \ else true; \ fi +# Some versions of ar (specifically the one in RISC/os 5.x), create an +# 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; $(AR_FOR_TARGET) x ../$(LIBGCC2)) (cd tmpcopy; $(AR_FOR_TARGET) $(AR_FLAGS_FOR_TARGET) ../tmplibgcc.a *$(objext)) rm -rf libgcc2.a tmpcopy |