diff options
author | Otavio Salvador <otavio@ossystems.com.br> | 2019-03-21 15:35:39 -0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2019-03-25 23:13:48 +0000 |
commit | 8ccb7776133bc79959e4b4fb809b8d6e0021a9ea (patch) | |
tree | a5100ed823aa51ebb6acc92db3d3704a20924330 /meta/recipes-devtools/llvm/llvm_git.bb | |
parent | 8648f1ac07e1a41c3f28f59f4b507bd6df9b36cc (diff) | |
download | poky-8ccb7776133bc79959e4b4fb809b8d6e0021a9ea.tar.gz |
llvm: Enable RTTI support in preparation for new mesa
The mesa 19.0.0 release requires RTTI to allow the build of Nouveau
driver, which is enabled by default when building for x86 and x86-64
target.
This commit enables RTTI support so it prepares the toolchain for the
upcoming change.
(From OE-Core rev: 8e24164606185e1d8b8eb293a30bb22760218f06)
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/llvm/llvm_git.bb')
-rw-r--r-- | meta/recipes-devtools/llvm/llvm_git.bb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-devtools/llvm/llvm_git.bb b/meta/recipes-devtools/llvm/llvm_git.bb index c68512cc63..d2ea927651 100644 --- a/meta/recipes-devtools/llvm/llvm_git.bb +++ b/meta/recipes-devtools/llvm/llvm_git.bb | |||
@@ -70,6 +70,7 @@ EXTRA_OECMAKE += "-DLLVM_ENABLE_ASSERTIONS=OFF \ | |||
70 | -DLLVM_BINDINGS_LIST='' \ | 70 | -DLLVM_BINDINGS_LIST='' \ |
71 | -DLLVM_LINK_LLVM_DYLIB=ON \ | 71 | -DLLVM_LINK_LLVM_DYLIB=ON \ |
72 | -DLLVM_ENABLE_FFI=ON \ | 72 | -DLLVM_ENABLE_FFI=ON \ |
73 | -DLLVM_ENABLE_RTTI=ON \ | ||
73 | -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ | 74 | -DFFI_INCLUDE_DIR=$(pkg-config --variable=includedir libffi) \ |
74 | -DLLVM_OPTIMIZED_TABLEGEN=ON \ | 75 | -DLLVM_OPTIMIZED_TABLEGEN=ON \ |
75 | -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ | 76 | -DLLVM_TARGETS_TO_BUILD='${LLVM_TARGETS}' \ |