summaryrefslogtreecommitdiffstats
path: root/contrib/gcc
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2008-08-10 19:33:35 +0000
committerdas <das@FreeBSD.org>2008-08-10 19:33:35 +0000
commit7ab38fbab06ffe14c38731fce97a60c681c625f1 (patch)
treeeb1f6f7f920e6d869c6fc4c76e92220f604303e7 /contrib/gcc
parent84a5dbce41b185530f67d49edfc82986e37356f3 (diff)
downloadFreeBSD-src-7ab38fbab06ffe14c38731fce97a60c681c625f1.zip
FreeBSD-src-7ab38fbab06ffe14c38731fce97a60c681c625f1.tar.gz
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.
Diffstat (limited to 'contrib/gcc')
-rw-r--r--contrib/gcc/common.opt2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/common.opt b/contrib/gcc/common.opt
index 23da331..367e540 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
OpenPOWER on IntegriCloud