llvm: disable build rpath
PATCH 1/1 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 <[email protected]>
--- meta-oe/recipes-core/llvm/llvm.inc | 1 + meta-oe/recipes-core/llvm/llvm2.9_2.9.bb | 1 + 2 files changed, 2 insertions(+)
meta-oe/recipes-core/llvm/llvm.inc +1 -0
@@ -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 = ""
meta-oe/recipes-core/llvm/llvm2.9_2.9.bb +1 -0
@@ -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"
Signature · 1 line
1.8.2.3