diff options
-rw-r--r-- | Misc/NEWS | 2 | ||||
-rwxr-xr-x | configure | 18 | ||||
-rw-r--r-- | configure.in | 14 |
3 files changed, 33 insertions, 1 deletions
@@ -47,6 +47,8 @@ Library Build ----- +- Issue #1496032: On alpha, use -mieee when gcc is the compiler. + - "make install" is now an alias for "make altinstall", to prevent accidentally overwriting a Python 2.x installation. Use "make fullinstall" to force Python 3.0 to be installed as @@ -1,5 +1,5 @@ #! /bin/sh -# From configure.in Revision: 62146 . +# From configure.in Revision: 62451 . # Guess values for system-dependent variables and create Makefiles. # Generated by GNU Autoconf 2.61 for python 3.0. # @@ -2153,6 +2153,12 @@ echo "${ECHO_T}$EXTRAPLATDIR" >&6; } CONFIGURE_MACOSX_DEPLOYMENT_TARGET= EXPORT_MACOSX_DEPLOYMENT_TARGET='#' +{ echo "$as_me:$LINENO: checking machine type as reported by uname -m" >&5 +echo $ECHO_N "checking machine type as reported by uname -m... $ECHO_C" >&6; } +ac_sys_machine=`uname -m` +{ echo "$as_me:$LINENO: result: $ac_sys_machine" >&5 +echo "${ECHO_T}$ac_sys_machine" >&6; } + # checks for alternative programs # compiler flags are generated in two sets, BASECFLAGS and OPT. OPT is just @@ -4503,6 +4509,16 @@ echo "${ECHO_T}$ac_cv_no_strict_aliasing_ok" >&6; } then BASECFLAGS="$BASECFLAGS -fno-strict-aliasing" fi + + # if using gcc on alpha, use -mieee to get (near) full IEEE 754 + # support. Without this, treatment of subnormals doesn't follow + # the standard. + case $ac_sys_machine in + alpha*) + BASECFLAGS="$BASECFLAGS -mieee" + ;; + esac + case $ac_sys_system in SCO_SV*) BASECFLAGS="$BASECFLAGS -m486 -DSCO5" diff --git a/configure.in b/configure.in index a1c044f..43d6ae0 100644 --- a/configure.in +++ b/configure.in @@ -333,6 +333,10 @@ AC_SUBST(EXPORT_MACOSX_DEPLOYMENT_TARGET) CONFIGURE_MACOSX_DEPLOYMENT_TARGET= EXPORT_MACOSX_DEPLOYMENT_TARGET='#' +AC_MSG_CHECKING(machine type as reported by uname -m) +ac_sys_machine=`uname -m` +AC_MSG_RESULT($ac_sys_machine) + # checks for alternative programs # compiler flags are generated in two sets, BASECFLAGS and OPT. OPT is just @@ -792,6 +796,16 @@ yes) then BASECFLAGS="$BASECFLAGS -fno-strict-aliasing" fi + + # if using gcc on alpha, use -mieee to get (near) full IEEE 754 + # support. Without this, treatment of subnormals doesn't follow + # the standard. + case $ac_sys_machine in + alpha*) + BASECFLAGS="$BASECFLAGS -mieee" + ;; + esac + case $ac_sys_system in SCO_SV*) BASECFLAGS="$BASECFLAGS -m486 -DSCO5" |