aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch')
-rw-r--r--recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch b/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch
new file mode 100644
index 0000000..c3ae494
--- /dev/null
+++ b/recipes-core/llvm/llvm2.9/arm_fenv_uclibc.patch
@@ -0,0 +1,14 @@
+Index: llvm-2.9/include/llvm/Support/FEnv.h
+===================================================================
+--- llvm-2.9.orig/include/llvm/Support/FEnv.h 2010-11-29 20:44:50.000000000 +0100
++++ llvm-2.9/include/llvm/Support/FEnv.h 2011-11-18 18:42:22.580161297 +0100
+@@ -17,6 +17,9 @@
+
+ #include "llvm/Config/config.h"
+ #include <cerrno>
++
++#undef HAVE_FENV_H
++
+ #ifdef HAVE_FENV_H
+ #include <fenv.h>
+ #endif