aboutsummaryrefslogtreecommitdiffstats
path: root/erts/configure.in
diff options
context:
space:
mode:
authorRickard Green <[email protected]>2014-02-21 09:29:40 +0100
committerRickard Green <[email protected]>2014-02-24 14:32:03 +0100
commitc7ddafbe6dbcc805a9758c4313f2d6b902983343 (patch)
tree69874a18877e52fe56ba3cc60ec5cba393db98a6 /erts/configure.in
parent9fbb7a9a72a9b9f2bc12aebdbc89cac4bcd21873 (diff)
downloadotp-c7ddafbe6dbcc805a9758c4313f2d6b902983343.tar.gz
otp-c7ddafbe6dbcc805a9758c4313f2d6b902983343.tar.bz2
otp-c7ddafbe6dbcc805a9758c4313f2d6b902983343.zip
Always default to disabled floating point exceptions on Linux
This since there exist unresolved stability issues in the implementation for Linux.
Diffstat (limited to 'erts/configure.in')
-rw-r--r--erts/configure.in5
1 files changed, 5 insertions, 0 deletions
diff --git a/erts/configure.in b/erts/configure.in
index 8d245252b5..0933b124df 100644
--- a/erts/configure.in
+++ b/erts/configure.in
@@ -2767,6 +2767,11 @@ esac
if test X${enable_fp_exceptions} = Xauto ; then
case $host_os in
+ *linux*)
+ enable_fp_exceptions=no
+ AC_MSG_NOTICE([Floating point exceptions disabled by default on Linux]) ;;
+ *)
+ ;;
darwin*)
enable_fp_exceptions=no
AC_MSG_NOTICE([Floating point exceptions disabled by default on MacOS X]) ;;