Commit 767f68cc authored by Bodo Möller's avatar Bodo Möller
Browse files

Bugfix: GCCVAR contains two lines ("Reading specs ..." and the actual

version), so we need
   echo $GCCVAR | sed ...
instead of
   echo "$GCCVAR" | sed ...
to process it as intended.
parent e84240d4
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -333,7 +333,7 @@ esac
# gcc < 2.8 does not support -mcpu=ultrasparc
if [ "$OUT" = solaris-usparc-gcc ]
then
 if [ `echo "$GCCVER" | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
 if [ `echo $GCCVER | sed 's/.*version //;s/\.//;s/\..*//'` -lt 28 ]
 then
  OUT=solaris-usparc-oldgcc
 fi