isalist was less trustable than I thought (or rather, one can trust it to
come up with all kinds of names we don't have in our targets). Besides, our sparcv9 targets currently generate sparcv8 code, I'm told.
This commit is contained in:
parent
b411e2724f
commit
317521eebd
1 changed files with 2 additions and 4 deletions
6
config
6
config
|
@ -564,16 +564,14 @@ EOF
|
|||
*-*-linux2) OUT="linux-elf" ;;
|
||||
*-*-linux1) OUT="linux-aout" ;;
|
||||
sun4u*-*-solaris2)
|
||||
ISA=`(isalist) 2>/dev/null`
|
||||
ISA64=`echo $ISA | grep sparcv9`
|
||||
ISA64=`(isalist) 2>/dev/null | grep sparcv9`
|
||||
if [ "$ISA64" != "" -a "$CC" = "cc" -a $CCVER -ge 50 ]; then
|
||||
echo "WARNING! If you wish to build 64-bit library, then you have to"
|
||||
echo " invoke './Configure solaris64-sparcv9-cc' *manually*."
|
||||
echo " Type return if you want to continue, Ctrl-C to abort."
|
||||
read waste < /dev/tty
|
||||
fi
|
||||
ISA=`set $ISA; echo $1`
|
||||
OUT="solaris-$ISA-$CC" ;;
|
||||
OUT="solaris-sparcv9-$CC" ;;
|
||||
sun4m-*-solaris2) OUT="solaris-sparcv8-$CC" ;;
|
||||
sun4d-*-solaris2) OUT="solaris-sparcv8-$CC" ;;
|
||||
sun4*-*-solaris2) OUT="solaris-sparcv7-$CC" ;;
|
||||
|
|
Loading…
Reference in a new issue