clang_{5..10}: add RTTI
This fixes problems with missing symbols when using clang as library and is most likely a result of llvm being build with RTTI enabled.
This commit is contained in:
parent
c94acd8131
commit
0f0b14258b
6 changed files with 6 additions and 0 deletions
|
@ -27,6 +27,7 @@ let
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++14"
|
"-DCMAKE_CXX_FLAGS=-std=c++14"
|
||||||
"-DCLANGD_BUILD_XPC=OFF"
|
"-DCLANGD_BUILD_XPC=OFF"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
|
@ -27,6 +27,7 @@ let
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
|
@ -27,6 +27,7 @@ let
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
|
@ -27,6 +27,7 @@ let
|
||||||
|
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
|
@ -28,6 +28,7 @@ let
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||||
"-DCLANGD_BUILD_XPC=OFF"
|
"-DCLANGD_BUILD_XPC=OFF"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
|
@ -28,6 +28,7 @@ let
|
||||||
cmakeFlags = [
|
cmakeFlags = [
|
||||||
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
"-DCMAKE_CXX_FLAGS=-std=c++11"
|
||||||
"-DCLANGD_BUILD_XPC=OFF"
|
"-DCLANGD_BUILD_XPC=OFF"
|
||||||
|
"-DLLVM_ENABLE_RTTI=ON"
|
||||||
] ++ stdenv.lib.optionals enableManpages [
|
] ++ stdenv.lib.optionals enableManpages [
|
||||||
"-DCLANG_INCLUDE_DOCS=ON"
|
"-DCLANG_INCLUDE_DOCS=ON"
|
||||||
"-DLLVM_ENABLE_SPHINX=ON"
|
"-DLLVM_ENABLE_SPHINX=ON"
|
||||||
|
|
Loading…
Reference in a new issue