From: Christoph Egger Date: Thu, 8 Jan 2015 17:44:54 +0000 (+0100) Subject: remove more madness from llvm-config flags X-Git-Tag: v0.1~137 X-Git-Url: https://git.siccegge.de//index.cgi?a=commitdiff_plain;h=4ce83d6b47b1410a5356a6bbb11346b857740ce6;p=frida%2Ffrida.git remove more madness from llvm-config flags --- diff --git a/CMakeLists.txt b/CMakeLists.txt index ab55827..3a14e98 100644 --- a/CMakeLists.txt +++ b/CMakeLists.txt @@ -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})