mirror of
git://gcc.gnu.org/git/gcc.git
synced 2024-12-30 11:15:21 +08:00
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
This commit is contained in:
parent
f4e5e9bcfc
commit
50908fadbb
@ -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.
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user