Detect Irix/CC compiler and substitute AR="CC -ar".
This commit is contained in:
parent
b2f9dbd597
commit
145c137433
1 changed files with 1 additions and 4 deletions
|
@ -2,10 +2,7 @@
|
|||
|
||||
for n in `find . -name Makefile`; do \
|
||||
echo "Fixing file $n"; \
|
||||
\
|
||||
mv -f $n $n.ar-new; \
|
||||
sed 's/^AR = ar/AR = CC -ar/g' $n.ar-new > $n;
|
||||
\
|
||||
mv -f $n $n.ar-new; \
|
||||
sed 's/$(AR) cru /$(AR) -o /g' $n.ar-new > $n; \
|
||||
rm -f $n.ar-new; \
|
||||
done
|
||||
|
|
Loading…
Reference in a new issue