summaryrefslogtreecommitdiffstats
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 @@
1Index: llvm-2.9/include/llvm/Support/FEnv.h
2===================================================================
3--- llvm-2.9.orig/include/llvm/Support/FEnv.h 2010-11-29 20:44:50.000000000 +0100
4+++ llvm-2.9/include/llvm/Support/FEnv.h 2011-11-18 18:42:22.580161297 +0100
5@@ -17,6 +17,9 @@
6
7 #include "llvm/Config/config.h"
8 #include <cerrno>
9+
10+#undef HAVE_FENV_H
11+
12 #ifdef HAVE_FENV_H
13 #include <fenv.h>
14 #endif