From 9b7127370e6588b9dba55014334c9df541f6420b Mon Sep 17 00:00:00 2001 From: Guido van Rossum Date: Tue, 29 Apr 1997 22:14:56 +0000 Subject: [PATCH] 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). --- configure.in | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/configure.in b/configure.in index 2746a99a8df..4e95cd3beb3 100644 --- a/configure.in +++ b/configure.in @@ -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)