diff options
-rw-r--r-- | meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch | 16 | ||||
-rw-r--r-- | meta-oe/recipes-core/llvm/llvm2.9_2.9.bb | 2 |
2 files changed, 18 insertions, 0 deletions
diff --git a/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch b/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch new file mode 100644 index 0000000000..4cf8d44640 --- /dev/null +++ b/meta-oe/recipes-core/llvm/llvm2.9/0035-gcc-4.7.patch | |||
@@ -0,0 +1,16 @@ | |||
1 | Upstream-Status: Pending | ||
2 | |||
3 | Imported from http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=673266 | ||
4 | |||
5 | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> | ||
6 | |||
7 | --- a/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:11:46.956180361 +0200 | ||
8 | +++ b/lib/ExecutionEngine/JIT/Intercept.cpp 2012-05-17 16:14:35.256184996 +0200 | ||
9 | @@ -52,6 +52,7 @@ | ||
10 | #include <sys/stat.h> | ||
11 | #endif | ||
12 | #include <fcntl.h> | ||
13 | +#include <unistd.h> | ||
14 | /* stat functions are redirecting to __xstat with a version number. On x86-64 | ||
15 | * linking with libc_nonshared.a and -Wl,--export-dynamic doesn't make 'stat' | ||
16 | * available as an exported symbol, so we have to add it explicitly. | ||
diff --git a/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb b/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb index 68cf70bb4d..d5b8c01492 100644 --- a/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb +++ b/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb | |||
@@ -2,6 +2,8 @@ require llvm.inc | |||
2 | 2 | ||
3 | PR = "${INC_PR}.0" | 3 | PR = "${INC_PR}.0" |
4 | 4 | ||
5 | SRC_URI += "file://0035-gcc-4.7.patch" | ||
6 | |||
5 | SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch " | 7 | SRC_URI_append_libc-uclibc = " file://arm_fenv_uclibc.patch " |
6 | 8 | ||
7 | PARALLEL_MAKE_virtclass-native = "" | 9 | PARALLEL_MAKE_virtclass-native = "" |