From 7dcded6b11b988c31ce1db871ab0fec3db691e05 Mon Sep 17 00:00:00 2001 From: Joerg Sonnenberger Date: Fri, 26 Oct 2012 12:15:29 +0000 Subject: [PATCH] Don't explicitly require RTTI and EH. llvm-svn: 166772 --- llvm/lib/Support/CMakeLists.txt | 6 ------ llvm/lib/Support/Makefile | 3 --- llvm/lib/VMCore/CMakeLists.txt | 2 -- llvm/lib/VMCore/Makefile | 1 - 4 files changed, 12 deletions(-) diff --git a/llvm/lib/Support/CMakeLists.txt b/llvm/lib/Support/CMakeLists.txt index 83baf60..6af0f4a 100644 --- a/llvm/lib/Support/CMakeLists.txt +++ b/llvm/lib/Support/CMakeLists.txt @@ -1,9 +1,3 @@ -## FIXME: This only requires RTTI because tblgen uses it. Fix that. -set(LLVM_REQUIRES_RTTI 1) -if( MINGW ) - set(LLVM_REQUIRES_EH 1) -endif() - add_llvm_library(LLVMSupport APFloat.cpp APInt.cpp diff --git a/llvm/lib/Support/Makefile b/llvm/lib/Support/Makefile index d68e500..4a2185d 100644 --- a/llvm/lib/Support/Makefile +++ b/llvm/lib/Support/Makefile @@ -11,9 +11,6 @@ LEVEL = ../.. LIBRARYNAME = LLVMSupport BUILD_ARCHIVE = 1 -## FIXME: This only requires RTTI because tblgen uses it. Fix that. -REQUIRES_RTTI = 1 - EXTRA_DIST = Unix Win32 README.txt include $(LEVEL)/Makefile.common diff --git a/llvm/lib/VMCore/CMakeLists.txt b/llvm/lib/VMCore/CMakeLists.txt index ba807fc..06eab0e 100644 --- a/llvm/lib/VMCore/CMakeLists.txt +++ b/llvm/lib/VMCore/CMakeLists.txt @@ -1,5 +1,3 @@ -set(LLVM_REQUIRES_RTTI 1) - add_llvm_library(LLVMCore AsmWriter.cpp Attributes.cpp diff --git a/llvm/lib/VMCore/Makefile b/llvm/lib/VMCore/Makefile index 2b9b0f2..8b98651 100644 --- a/llvm/lib/VMCore/Makefile +++ b/llvm/lib/VMCore/Makefile @@ -9,7 +9,6 @@ LEVEL = ../.. LIBRARYNAME = LLVMCore BUILD_ARCHIVE = 1 -REQUIRES_RTTI = 1 BUILT_SOURCES = $(PROJ_OBJ_ROOT)/include/llvm/Intrinsics.gen -- 2.7.4