llvm: disable build rpath
authorJonathan Liu <net147@gmail.com>
Wed, 29 May 2013 03:46:08 +0000 (03:46 +0000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:30:43 +0000 (08:30 -0800)
This avoids QA Issue where tblgen has an rpath to lib in the shadow
build directory.

(From meta-openembedded rev: 8b9c1d22135694e6e20d9e77ee1524e0fba93ec9)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-oe/recipes-core/llvm/llvm.inc
meta-openembedded/meta-oe/recipes-core/llvm/llvm2.9_2.9.bb

index 27f8c84..6cf9db8 100644 (file)
@@ -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 = ""
index ee7c3a3..1cd68be 100644 (file)
@@ -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"