File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -47,6 +47,8 @@ Library
4747Build
4848-----
4949
50+ - Issue #1496032: On alpha, use -mieee when gcc is the compiler.
51+
5052- "make install" is now an alias for "make altinstall", to prevent
5153 accidentally overwriting a Python 2.x installation.
5254 Use "make fullinstall" to force Python 3.0 to be installed as
Original file line number Diff line number Diff line change 11#! /bin/sh
2- # From configure.in Revision: 62146 .
2+ # From configure.in Revision: 62451 .
33# Guess values for system-dependent variables and create Makefiles.
44# Generated by GNU Autoconf 2.61 for python 3.0.
55#
@@ -2153,6 +2153,12 @@ echo "${ECHO_T}$EXTRAPLATDIR" >&6; }
21532153CONFIGURE_MACOSX_DEPLOYMENT_TARGET=
21542154EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
21552155
2156+ { echo "$as_me:$LINENO: checking machine type as reported by uname -m" >&5
2157+ echo $ECHO_N "checking machine type as reported by uname -m... $ECHO_C" >&6; }
2158+ ac_sys_machine=`uname -m`
2159+ { echo "$as_me:$LINENO: result: $ac_sys_machine" >&5
2160+ echo "${ECHO_T}$ac_sys_machine" >&6; }
2161+
21562162# checks for alternative programs
21572163
21582164# 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; }
45034509 then
45044510 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
45054511 fi
4512+
4513+ # if using gcc on alpha, use -mieee to get (near) full IEEE 754
4514+ # support. Without this, treatment of subnormals doesn't follow
4515+ # the standard.
4516+ case $ac_sys_machine in
4517+ alpha*)
4518+ BASECFLAGS="$BASECFLAGS -mieee"
4519+ ;;
4520+ esac
4521+
45064522 case $ac_sys_system in
45074523 SCO_SV*)
45084524 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
Original file line number Diff line number Diff line change @@ -333,6 +333,10 @@ AC_SUBST(EXPORT_MACOSX_DEPLOYMENT_TARGET)
333333CONFIGURE_MACOSX_DEPLOYMENT_TARGET=
334334EXPORT_MACOSX_DEPLOYMENT_TARGET='#'
335335
336+ AC_MSG_CHECKING(machine type as reported by uname -m)
337+ ac_sys_machine=`uname -m`
338+ AC_MSG_RESULT($ac_sys_machine)
339+
336340# checks for alternative programs
337341
338342# compiler flags are generated in two sets, BASECFLAGS and OPT. OPT is just
@@ -792,6 +796,16 @@ yes)
792796 then
793797 BASECFLAGS="$BASECFLAGS -fno-strict-aliasing"
794798 fi
799+
800+ # if using gcc on alpha, use -mieee to get (near) full IEEE 754
801+ # support. Without this, treatment of subnormals doesn't follow
802+ # the standard.
803+ case $ac_sys_machine in
804+ alpha*)
805+ BASECFLAGS="$BASECFLAGS -mieee"
806+ ;;
807+ esac
808+
795809 case $ac_sys_system in
796810 SCO_SV*)
797811 BASECFLAGS="$BASECFLAGS -m486 -DSCO5"
You can’t perform that action at this time.
0 commit comments