gcc < 2.8 does not support ultrasparc.

This commit is contained in:
Ulf Möller 1999-05-18 23:44:38 +00:00
parent 35f7324c23
commit b67358328e

9
config
View file

@ -330,6 +330,15 @@ case "$GUESSOS" in
*) OUT=`echo $GUESSOS | awk -F- '{print $3}'`;;
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 ]
then
OUT=solaris-sparc-gcc
fi
fi
case "$GUESSOS" in
i386-*) options="$options 386" ;;
esac