]> git.siccegge.de Git - frida/frida.git/commitdiff
remove more madness from llvm-config flags
authorChristoph Egger <siccegge@faui49man12.informatik.uni-erlangen.de>
Thu, 8 Jan 2015 17:44:54 +0000 (18:44 +0100)
committerChristoph Egger <siccegge@faui49man12.informatik.uni-erlangen.de>
Thu, 8 Jan 2015 17:44:54 +0000 (18:44 +0100)
CMakeLists.txt

index ab55827c77f948cf760ea42a8eb0c85ef7a1c792..3a14e989234ba2cb53d7f7fbb20f100588d4947b 100644 (file)
@@ -29,6 +29,7 @@ execute_process(COMMAND ${LLVM_CONFIG} --system-libs OUTPUT_VARIABLE LLVM_SYSTEM
 
 string(REPLACE -O2 "" LLVM_CFLAGS ${LLVM_CFLAGS})
 string(REPLACE -fno-exceptions "" LLVM_CFLAGS ${LLVM_CFLAGS})
+string(REPLACE -fno-rtti "" LLVM_CFLAGS ${LLVM_CFLAGS})
 
 separate_arguments(LLVM_CFLAGS)
 add_definitions(${LLVM_CFLAGS})