From e73a31f667ad2fe03e25c97ac45b58c30d7f07c3 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. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94164 91177308-0d34-0410-b5e6-96231b3b80d8 --- tools/llvm-nm/Makefile | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/llvm-nm/Makefile') diff --git a/tools/llvm-nm/Makefile b/tools/llvm-nm/Makefile index ecf5f8c3dc..bdefaa6248 100644 --- a/tools/llvm-nm/Makefile +++ b/tools/llvm-nm/Makefile @@ -13,5 +13,6 @@ LINK_COMPONENTS = archive bitreader # This tool has no plugins, optimize startup time. TOOL_NO_EXPORTS = 1 +CXXFLAGS = -fno-rtti include $(LEVEL)/Makefile.common -- cgit v1.2.3