diff options
| author | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-01 08:50:35 +0000 |
|---|---|---|
| committer | Neal Norwitz <nnorwitz@gmail.com> | 2006-04-01 08:50:35 +0000 |
| commit | d0dc17031086087358c496418e47a8177e27f26a (patch) | |
| tree | 6b4f5fb2ea7abd866f0a53bba9bc6a6d523f110d /configure.in | |
| parent | 9be60ec51ec09937ec7ec7931e2f3844bec114a9 (diff) | |
| download | cpython-git-d0dc17031086087358c496418e47a8177e27f26a.tar.gz | |
Backport 43470:
Get gcc to do strict IEEE math. This flag was already used for cc, just not
gcc. Without this flag, doing pretty much anything with NaNs causes
a Floating Point Exception signal. This causes the interpreter to quit.
The failing tests this fixes are: test_long.
This is somewhat equivalent to doing signal(SIGFPE, SIG_IGN).
Diffstat (limited to 'configure.in')
| -rw-r--r-- | configure.in | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/configure.in b/configure.in index bcb07e6fcf..459e1061b2 100644 --- a/configure.in +++ b/configure.in @@ -737,6 +737,9 @@ yes) Darwin*) BASECFLAGS="$BASECFLAGS -Wno-long-double -no-cpp-precomp -mno-fused-madd" ;; + OSF*) + BASECFLAGS="$BASECFLAGS -mieee" + ;; esac ;; |
