From 7ba0661f270219546aa3729fc676112a754d0b3a Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Fri, 22 Jan 2010 06:49:46 +0000 Subject: 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 --- llvm/tools/llvm-as/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'llvm/tools/llvm-as') diff --git a/llvm/tools/llvm-as/Makefile b/llvm/tools/llvm-as/Makefile index ae449c479a4..d6fbd710fa3 100644 --- a/llvm/tools/llvm-as/Makefile +++ b/llvm/tools/llvm-as/Makefile @@ -10,7 +10,7 @@ LEVEL = ../.. TOOLNAME = llvm-as LINK_COMPONENTS := asmparser bitwriter -REQUIRES_EH := 1 +CXXFLAGS = -fno-rtti # This tool has no plugins, optimize startup time. TOOL_NO_EXPORTS = 1 -- cgit v1.2.3