Stop building RTTI information for *most* llvm libraries. Notable
[oota-llvm.git] / tools / llvm-ar / Makefile
1 ##===- tools/llvm-ar/Makefile ------------------------------*- Makefile -*-===##
2
3 #                     The LLVM Compiler Infrastructure
4 #
5 # This file is distributed under the University of Illinois Open Source
6 # License. See LICENSE.TXT for details.
7
8 ##===----------------------------------------------------------------------===##
9 LEVEL = ../..
10
11 TOOLNAME = llvm-ar
12 LINK_COMPONENTS = archive
13 REQUIRES_EH := 1
14 #CXXFLAGS = -fno-rtti
15
16 # This tool has no plugins, optimize startup time.
17 TOOL_NO_EXPORTS = 1
18
19 include $(LEVEL)/Makefile.common
20
21 check-local::
22         $(Echo) Checking llvm-ar
23         $(Verb) $(ToolDir)/llvm-ar zRrS nada.a .
24         $(Verb) $(ToolDir)/llvm-ar tv nada.a | \
25           grep Debug/llvm-ar.d >/dev/null 2>&1
26         $(Verb) $(RM) -f nada.a