aboutsummaryrefslogtreecommitdiff
path: root/lang/erlang14/files/patch-erts_configure
blob: e53372908e061908662ef9b96c1ca1fc0e8781b1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16

$FreeBSD$

--- erts/configure.orig
+++ erts/configure
@@ -6895,7 +6895,9 @@
 
 echo $ac_n "checking for unreliable floating point execptions""... $ac_c" 1>&6
 echo "configure:6898: checking for unreliable floating point execptions" >&5
-if test "$cross_compiling" = yes; then
+if test "${ARCH}" = amd64; then
+  erl_ok=reliable
+elif test "$cross_compiling" = yes; then
   erl_ok=unreliable
 else
   cat > conftest.$ac_ext <<EOF