From 4ce83d6b47b1410a5356a6bbb11346b857740ce6 Mon Sep 17 00:00:00 2001 From: Christoph Egger Date: Thu, 8 Jan 2015 18:44:54 +0100 Subject: [PATCH] remove more madness from llvm-config flags --- CMakeLists.txt | 1 + 1 file changed, 1 insertion(+) 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}) -- 2.39.5