[oe-commits] Jonathan Liu : llvm: disable build rpath
git at git.openembedded.org
git at git.openembedded.org
Wed Jun 12 14:16:36 UTC 2013
Module: meta-openembedded.git
Branch: master
Commit: 8b9c1d22135694e6e20d9e77ee1524e0fba93ec9
URL: http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=8b9c1d22135694e6e20d9e77ee1524e0fba93ec9
Author: Jonathan Liu <net147 at gmail.com>
Date: Wed May 29 03:46:08 2013 +0000
llvm: disable build rpath
This avoids QA Issue where tblgen has an rpath to lib in the shadow
build directory.
Signed-off-by: Jonathan Liu <net147 at gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>
---
meta-oe/recipes-core/llvm/llvm.inc | 1 +
meta-oe/recipes-core/llvm/llvm2.9_2.9.bb | 1 +
2 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index 27f8c84..6cf9db8 100644
--- a/meta-oe/recipes-core/llvm/llvm.inc
+++ b/meta-oe/recipes-core/llvm/llvm.inc
@@ -62,6 +62,7 @@ EXTRA_OECMAKE = "\
-DLLVM_ENABLE_ASSERTIONS:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \
"
# We need to reset this to avoid breakage as we build out of tree
TOOLCHAIN_OPTIONS = ""
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 ee7c3a3..1cd68be 100644
--- a/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb
+++ b/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb
@@ -34,6 +34,7 @@ EXTRA_OECMAKE = "\
-DLLVM_ENABLE_ASSERTIONS:BOOL=ON \
-DCMAKE_BUILD_TYPE:STRING=RelWithDebInfo \
-DBUILD_SHARED_LIBS:BOOL=ON \
+ -DCMAKE_SKIP_BUILD_RPATH:BOOL=ON \
"
LLVM_RELEASE = "2.9"
More information about the Openembedded-commits
mailing list