summaryrefslogtreecommitdiffstats
path: root/llvm/tools/llvm-link
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-22 06:49:46 +0000
committerChris Lattner <sabre@nondot.org>2010-01-22 06:49:46 +0000
commit7ba0661f270219546aa3729fc676112a754d0b3a (patch)
tree24f286835f3eeee18aa4cd2eac1ef584ae1bfc1b /llvm/tools/llvm-link
parent9eb76d47f248ea89b4b3c8af7f255a9a6b34ba64 (diff)
downloadbcm5719-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/tools/llvm-link')
-rw-r--r--llvm/tools/llvm-link/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/tools/llvm-link/Makefile b/llvm/tools/llvm-link/Makefile
index 26370187c55..de592aae6a1 100644
--- a/llvm/tools/llvm-link/Makefile
+++ b/llvm/tools/llvm-link/Makefile
@@ -10,6 +10,7 @@ LEVEL = ../..
TOOLNAME = llvm-link
LINK_COMPONENTS = linker bitreader bitwriter asmparser
+CXXFLAGS = -fno-rtti
# This tool has no plugins, optimize startup time.
TOOL_NO_EXPORTS = 1
OpenPOWER on IntegriCloud