gcc < 2.8 does not support ultrasparc.
This commit is contained in:
parent
35f7324c23
commit
b67358328e
1 changed files with 9 additions and 0 deletions
9
config
9
config
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue