From: curt Date: Fri, 1 Jun 2001 17:13:03 +0000 (+0000) Subject: Detect Irix/CC compiler and substitute AR="CC -ar". X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=145c137433219012ac37adfde6500a5a2121c6e6;p=flightgear.git Detect Irix/CC compiler and substitute AR="CC -ar". --- diff --git a/irix-hack.sh b/irix-hack.sh index de8e212e9..b77cf3955 100644 --- a/irix-hack.sh +++ b/irix-hack.sh @@ -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