From 7a5b5fae947d8fb66c885ea89dcf860fbdbc8f41 Mon Sep 17 00:00:00 2001 From: David Schultz Date: Sun, 10 Aug 2008 19:33:35 +0000 Subject: [PATCH] Make -fno-math-errno the default. Our libm doesn't support the SysV mistake of setting errno, and never has. This will need to be fixed upstream in a more generic way, but the changes are somewhat more involved. --- contrib/gcc/common.opt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/gcc/common.opt b/contrib/gcc/common.opt index 23da331b927..367e5403bb2 100644 --- a/contrib/gcc/common.opt +++ b/contrib/gcc/common.opt @@ -578,7 +578,7 @@ Common Does nothing. Preserved for backward compatibility. fmath-errno -Common Report Var(flag_errno_math) Init(1) +Common Report Var(flag_errno_math) Init(0) Set errno after built-in math functions fmem-report