summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
Diffstat (limited to 'config')
-rwxr-xr-xconfig6
1 files changed, 4 insertions, 2 deletions
diff --git a/config b/config
index 3e9af7680a..7cfc4f9330 100755
--- a/config
+++ b/config
@@ -595,8 +595,10 @@ EOF
fi ;;
*-*-linux1) OUT="linux-aout" ;;
sun4u*-*-solaris2)
- OUT="solaris-sparcv9-$CC"
- ISA64=`(isalist) 2>/dev/null | grep sparcv9`
+ ISA=`(isalist) 2>/dev/null`
+ ISA64=`echo $ISA | grep sparcv9`
+ ISA=`set $ISA; echo $1`
+ OUT="solaris-$ISA-$CC" ;;
if [ "$ISA64" != "" ]; then
if [ "$CC" = "cc" -a $CCVER -ge 50 ]; then
echo "WARNING! If you wish to build 64-bit library, then you have to"