llvm-3.4: enable RTTI (close #8289)

This commit is contained in:
Matthew Maurer 2015-06-11 00:45:24 +02:00 committed by Vladimír Čunát
parent cdc70b69f5
commit 6a76633bb6

View File

@ -44,6 +44,7 @@ in stdenv.mkDerivation rec {
"-DCMAKE_BUILD_TYPE=Release"
"-DLLVM_BUILD_TESTS=ON"
"-DLLVM_ENABLE_FFI=ON"
"-DLLVM_REQUIRES_RTTI=1"
"-DLLVM_BINUTILS_INCDIR=${binutils}/include"
"-DCMAKE_CXX_FLAGS=-std=c++11"
] ++ stdenv.lib.optional (!isDarwin) "-DBUILD_SHARED_LIBS=ON";