llvm-3.5: enable RTTI to support mesa

Extracted from #6367.
This commit is contained in:
Eduard Bachmakov 2015-02-20 16:29:52 +01:00 committed by Vladimír Čunát
parent 99a740aa21
commit c0def4a169
2 changed files with 2 additions and 0 deletions

View File

@ -41,6 +41,7 @@ in stdenv.mkDerivation rec {
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_BUILD_TESTS=ON"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_REQUIRES_RTTI=1"
] ++ stdenv.lib.optionals (!isDarwin) [
"-DBUILD_SHARED_LIBS=ON"
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"

View File

@ -3714,6 +3714,7 @@ let
llvm = llvmPackages.llvm;
llvm_35 = llvmPackages_35.llvm;
llvm_34 = llvmPackages_34.llvm;
llvm_33 = llvm_v ../development/compilers/llvm/3.3/llvm.nix;