mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
Merged revisions 62499 via svnmerge from
svn+ssh://pythondev@svn.python.org/python/trunk ........ r62499 | mark.dickinson | 2008-04-25 12:11:04 -0400 (Fri, 25 Apr 2008) | 7 lines Issue #1496032. Add -mieee to BASECFLAGS on alpha, when gcc is the compiler. This should(?) help to fix failures in test_math and test_cmath on Linux/alpha. Also add configure message reporting the result of uname -m, as a debugging aid. ........
This commit is contained in:
parent
a1e5325cf2
commit
b0e2b4c52f
3 changed files with 33 additions and 1 deletions
18
configure
vendored
18
configure
vendored
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue