diff options
author | Chris Lattner <sabre@nondot.org> | 2010-01-22 06:49:46 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-01-22 06:49:46 +0000 |
commit | e73a31f667ad2fe03e25c97ac45b58c30d7f07c3 (patch) | |
tree | 753069c9e03bd2e0a40d83bc5d8ecbad9a580d7e /lib/Bitcode | |
parent | 6eeb7345f215217aca4a60098eb1f968c76f700c (diff) |
Stop building RTTI information for *most* llvm libraries. Notable
missing ones are libsupport, libsystem and libvmcore. libvmcore is
currently blocked on bugpoint, which uses EH. Once it stops using
EH, we can switch it off.
This #if 0's out 3 unit tests, because gtest requires RTTI information.
Suggestions welcome on how to fix this.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94164 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Bitcode')
-rw-r--r-- | lib/Bitcode/Reader/Makefile | 1 | ||||
-rw-r--r-- | lib/Bitcode/Writer/Makefile | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/lib/Bitcode/Reader/Makefile b/lib/Bitcode/Reader/Makefile index 59af8d53a7..0aae3bf4cc 100644 --- a/lib/Bitcode/Reader/Makefile +++ b/lib/Bitcode/Reader/Makefile @@ -10,6 +10,7 @@ LEVEL = ../../.. LIBRARYNAME = LLVMBitReader BUILD_ARCHIVE = 1 +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common diff --git a/lib/Bitcode/Writer/Makefile b/lib/Bitcode/Writer/Makefile index 7b0bd72159..5f9742e982 100644 --- a/lib/Bitcode/Writer/Makefile +++ b/lib/Bitcode/Writer/Makefile @@ -10,6 +10,7 @@ LEVEL = ../../.. LIBRARYNAME = LLVMBitWriter BUILD_ARCHIVE = 1 +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common |