Openembedded Devel Discussions
 help / color / mirror / Atom feed
* [meta-oe][PATCH] llvm: disable build rpath
@ 2013-05-29  3:46 Jonathan Liu
  0 siblings, 0 replies; only message in thread
From: Jonathan Liu @ 2013-05-29  3:46 UTC (permalink / raw)
  To: openembedded-devel

This avoids QA Issue where tblgen has an rpath to lib in the shadow
build directory.

Signed-off-by: Jonathan Liu <net147@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(+)

diff --git a/meta-oe/recipes-core/llvm/llvm.inc b/meta-oe/recipes-core/llvm/llvm.inc
index 6230495..b2ab935 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"
-- 
1.8.2.3



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-29  3:32 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-29  3:46 [meta-oe][PATCH] llvm: disable build rpath Jonathan Liu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox