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 | 7ba0661f270219546aa3729fc676112a754d0b3a (patch) | |
tree | 24f286835f3eeee18aa4cd2eac1ef584ae1bfc1b /llvm/lib/CodeGen | |
parent | 9eb76d47f248ea89b4b3c8af7f255a9a6b34ba64 (diff) | |
download | bcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.tar.gz bcm5719-llvm-7ba0661f270219546aa3729fc676112a754d0b3a.zip |
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.
llvm-svn: 94164
Diffstat (limited to 'llvm/lib/CodeGen')
-rw-r--r-- | llvm/lib/CodeGen/AsmPrinter/Makefile | 5 | ||||
-rw-r--r-- | llvm/lib/CodeGen/Makefile | 1 | ||||
-rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/Makefile | 3 |
3 files changed, 6 insertions, 3 deletions
diff --git a/llvm/lib/CodeGen/AsmPrinter/Makefile b/llvm/lib/CodeGen/AsmPrinter/Makefile index 8f65d8d3f23..b0071d0ea3d 100644 --- a/llvm/lib/CodeGen/AsmPrinter/Makefile +++ b/llvm/lib/CodeGen/AsmPrinter/Makefile @@ -1,4 +1,4 @@ -##===- lib/CodeGen/SelectionDAG/Makefile -------------------*- Makefile -*-===## +##===- lib/CodeGen/AsmPrinter/Makefile ---------------------*- Makefile -*-===## # # The LLVM Compiler Infrastructure # @@ -6,8 +6,9 @@ # License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## + LEVEL = ../../.. LIBRARYNAME = LLVMAsmPrinter -PARALLEL_DIRS = +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common diff --git a/llvm/lib/CodeGen/Makefile b/llvm/lib/CodeGen/Makefile index 4ab3e3c0013..8c0204c6979 100644 --- a/llvm/lib/CodeGen/Makefile +++ b/llvm/lib/CodeGen/Makefile @@ -11,6 +11,7 @@ LEVEL = ../.. LIBRARYNAME = LLVMCodeGen PARALLEL_DIRS = SelectionDAG AsmPrinter BUILD_ARCHIVE = 1 +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common diff --git a/llvm/lib/CodeGen/SelectionDAG/Makefile b/llvm/lib/CodeGen/SelectionDAG/Makefile index 73f0b5da852..4706e685293 100644 --- a/llvm/lib/CodeGen/SelectionDAG/Makefile +++ b/llvm/lib/CodeGen/SelectionDAG/Makefile @@ -6,8 +6,9 @@ # License. See LICENSE.TXT for details. # ##===----------------------------------------------------------------------===## + LEVEL = ../../.. LIBRARYNAME = LLVMSelectionDAG -PARALLEL_DIRS = +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common |