aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRobert Schuster <thebohemian@gmx.net>2009-03-25 11:16:35 +0100
committerRobert Schuster <thebohemian@gmx.net>2009-03-25 11:17:39 +0100
commit5575ee4e7a2b2313ae856c93327199600ff5803a (patch)
treec2b21927fd14e283f8ce58256671946e327bb9ac
parent1476b9765624d62a30fadcd6a7a2abdaeea842e8 (diff)
downloadopenembedded-5575ee4e7a2b2313ae856c93327199600ff5803a.tar.gz
openembedded-5575ee4e7a2b2313ae856c93327199600ff5803a.tar.bz2
openembedded-5575ee4e7a2b2313ae856c93327199600ff5803a.zip
llvm 2.5: Updated patch to include preprocessor definitions.
-rw-r--r--recipes/llvm/llvm-2.5/fix-build.patch6
-rw-r--r--recipes/llvm/llvm_2.4.bb1
-rw-r--r--recipes/llvm/llvm_2.5.bb2
3 files changed, 5 insertions, 4 deletions
diff --git a/recipes/llvm/llvm-2.5/fix-build.patch b/recipes/llvm/llvm-2.5/fix-build.patch
index 9430ad3cb8..527823c18c 100644
--- a/recipes/llvm/llvm-2.5/fix-build.patch
+++ b/recipes/llvm/llvm-2.5/fix-build.patch
@@ -1,7 +1,7 @@
Index: llvm-2.5/tools/llvm-config/CMakeLists.txt
===================================================================
--- llvm-2.5.orig/tools/llvm-config/CMakeLists.txt 2009-01-07 20:24:44.000000000 +0100
-+++ llvm-2.5/tools/llvm-config/CMakeLists.txt 2009-03-23 12:49:10.000000000 +0100
++++ llvm-2.5/tools/llvm-config/CMakeLists.txt 2009-03-23 13:45:24.000000000 +0100
@@ -83,13 +83,13 @@
COMMENT "Checking for cyclic dependencies between LLVM libraries.")
@@ -10,8 +10,8 @@ Index: llvm-2.5/tools/llvm-config/CMakeLists.txt
- COMMAND echo 's,@LLVM_CFLAGS@,${CMAKE_C_FLAGS},' >> temp.sed
- COMMAND echo 's,@LLVM_CXXFLAGS@,${CMAKE_CXX_FLAGS},' >> temp.sed
+ COMMAND echo 's!@LLVM_CPPFLAGS@!${CMAKE_CPP_FLAGS}!' > temp.sed
-+ COMMAND echo 's!@LLVM_CFLAGS@!${CMAKE_C_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS!' >> temp.sed
-+ COMMAND echo 's!@LLVM_CXXFLAGS@!${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS!' >> temp.sed
++ COMMAND echo 's!@LLVM_CFLAGS@!${CMAKE_C_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS!' >> temp.sed
++ COMMAND echo 's!@LLVM_CXXFLAGS@!${CMAKE_CXX_FLAGS} -D_GNU_SOURCE -D__STDC_LIMIT_MACROS -D__STDC_CONSTANT_MACROS -fpermissive -fvisibility-inlines-hidden -Woverloaded-virtual!' >> temp.sed
# TODO: Use general flags for linking, not just for shared libs:
- COMMAND echo 's,@LLVM_LDFLAGS@,${CMAKE_SHARED_LINKER_FLAGS},' >> temp.sed
- COMMAND echo 's,@LIBS@,,' >> temp.sed # TODO: System libs
diff --git a/recipes/llvm/llvm_2.4.bb b/recipes/llvm/llvm_2.4.bb
index a66d1b376b..fef48f5343 100644
--- a/recipes/llvm/llvm_2.4.bb
+++ b/recipes/llvm/llvm_2.4.bb
@@ -6,6 +6,7 @@ SRC_URI = "\
http://llvm.org/releases/${PV}/llvm-${PV}.tar.gz \
file://fix-build.patch;patch=1 \
file://fix-static-initialization.patch;patch=1 \
+ file://fix-ldr_pre.patch;patch=1 \
"
DEPENDS = "llvm-native"
diff --git a/recipes/llvm/llvm_2.5.bb b/recipes/llvm/llvm_2.5.bb
index d8a8d1893b..ece64422b5 100644
--- a/recipes/llvm/llvm_2.5.bb
+++ b/recipes/llvm/llvm_2.5.bb
@@ -7,7 +7,7 @@ SRC_URI = "\
file://fix-build.patch;patch=1 \
"
-PR = "r1"
+PR = "r2"
DEPENDS = "llvm-native"