Get rid of the "-n32" options for SGI IRIX 6.x. Instead, substitute

the value at configure time of the SGI_ABI environment variable.  See
abi(5).
This commit is contained in:
Guido van Rossum 1997-04-29 22:14:56 +00:00
parent 07397974da
commit 9b7127370e
1 changed files with 3 additions and 3 deletions

View File

@ -176,7 +176,7 @@ then
case $ac_sys_system/$ac_sys_release in
AIX*) LDSHARED="ld_so_aix \$(CC)";;
IRIX/5*) LDSHARED="ld -shared";;
IRIX/6*) LDSHARED="ld -n32 -shared -all"; OPT="$OPT -n32";;
IRIX/6*) LDSHARED="ld $SGI_ABI -shared -all"; OPT="$OPT $SGI_ABI";;
SunOS/4*) LDSHARED="ld";;
SunOS/5*) LDSHARED="ld -G";;
hp*|HP*) LDSHARED="ld -b";;
@ -203,7 +203,7 @@ then
Linux*) CCSHARED="-fpic";;
FreeBSD*) CCSHARED="-fpic";;
SCO_SV*) CCSHARED="-KPIC -dy -Bdynamic";;
IRIX/6*) CCSHARED="-n32 -all";;
IRIX/6*) CCSHARED="$SGI_ABI -all";;
esac
fi
AC_MSG_RESULT($CCSHARED)
@ -219,7 +219,7 @@ then
Linux*) LINKFORSHARED="-rdynamic";;
next) LINKFORSHARED="-u libsys_s";;
SCO_SV*) LINKFORSHARED="-Bdynamic -dy -Wl,-Bexport";;
IRIX/6*) LINKFORSHARED="-n32 -all";;
IRIX/6*) LINKFORSHARED="$SGI_ABI -all";;
esac
fi
AC_MSG_RESULT($LINKFORSHARED)