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.
This commit is contained in:
Bodo Möller 1999-05-19 16:35:21 +00:00
parent e84240d422
commit 767f68cc80

2
config
View file

@ -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