[oe-commits] Robert Schuster : llvm2.7 2.7: Removed the link patch - its not needed for the CMake-build

git version control git at git.openembedded.org
Wed Jun 16 08:15:21 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: 588548bdc61b444de758108bb267a942ffd395dc
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=588548bdc61b444de758108bb267a942ffd395dc

Author: Robert Schuster <robertschuster at fsfe.org>
Date:   Wed Jun 16 10:15:58 2010 +0200

llvm2.7 2.7: Removed the link patch - its not needed for the CMake-build

---

 recipes/llvm/llvm2.7/link.patch |   12 ------------
 recipes/llvm/llvm2.7_2.7.bb     |    5 ++---
 2 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/recipes/llvm/llvm2.7/link.patch b/recipes/llvm/llvm2.7/link.patch
deleted file mode 100644
index 059bd92..0000000
--- a/recipes/llvm/llvm2.7/link.patch
+++ /dev/null
@@ -1,12 +0,0 @@
-Index: llvm-2.7/tools/llvm-shlib/Makefile
-===================================================================
---- llvm-2.7/tools/llvm-shlib/Makefile (revision 103711)
-+++ llvm-2.7/tools/llvm-shlib/Makefile (working copy)
-@@ -56,5 +56,5 @@
-     LLVMLibsOptions := -Wl,--whole-archive $(LLVMLibsOptions) 
-                        -Wl,--no-whole-archive
-     # Don't allow unresolved symbols.
--    LLVMLibsOptions += -Wl,--no-undefined
-+    LLVMLibsOptions += -lgcc -Wl,--no-undefined
- endif
-
diff --git a/recipes/llvm/llvm2.7_2.7.bb b/recipes/llvm/llvm2.7_2.7.bb
index 623f6fa..67633e2 100644
--- a/recipes/llvm/llvm2.7_2.7.bb
+++ b/recipes/llvm/llvm2.7_2.7.bb
@@ -1,20 +1,19 @@
 require llvm.inc
 
-PR = "r1"
+PR = "r2"
 
 DEPENDS = "llvm-common llvm2.7-native"
 
 SRC_URI = "\
   http://llvm.org/releases/${PV}/llvm-${PV}.tgz \
   file://BX_to_BLX.patch \
-  file://link.patch \
   "
 
 EXTRA_OECMAKE += "\
         -DLLVM_TARGET_ARCH:STRING=${LLVM_ARCH} \
         -DLLVM_ENABLE_ASSERTIONS:BOOL=ON \
-		-DBUILD_SHARED_LIBS:BOOL=ON \
         -DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
+		-DBUILD_SHARED_LIBS:BOOL=ON \
 	"
 
 LLVM_RELEASE = "2.7"





More information about the Openembedded-commits mailing list