aboutsummaryrefslogtreecommitdiff
path: root/lang/llvm-gcc4/files/patch-.._gcc_common.opt
diff options
context:
space:
mode:
Diffstat (limited to 'lang/llvm-gcc4/files/patch-.._gcc_common.opt')
-rw-r--r--lang/llvm-gcc4/files/patch-.._gcc_common.opt16
1 files changed, 16 insertions, 0 deletions
diff --git a/lang/llvm-gcc4/files/patch-.._gcc_common.opt b/lang/llvm-gcc4/files/patch-.._gcc_common.opt
new file mode 100644
index 000000000000..22cdc80ddb4f
--- /dev/null
+++ b/lang/llvm-gcc4/files/patch-.._gcc_common.opt
@@ -0,0 +1,16 @@
+
+$FreeBSD$
+
+--- ../gcc/common.opt.orig
++++ ../gcc/common.opt
+@@ -730,8 +730,8 @@
+
+ ; APPLE LOCAL begin optimization pragmas 3124235/3420242
+ fmath-errno
+-Common Report Var(flag_errno_math) Init(1) PerFunc
+-Set errno after built-in math functions
++Common Report Var(flag_errno_math) Init(0) PerFunc
++FreeBSD does not set errno after built-in math functions
+ ; APPLE LOCAL end optimization pragmas 3124235/3420242
+
+ fmem-report