llvm.org GIT mirror llvm / 43b5f93
make -fno-rtti the default unless a directory builds with REQUIRES_RTTI. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94378 91177308-0d34-0410-b5e6-96231b3b80d8 Chris Lattner 9 years ago
86 changed file(s) with 7 addition(s) and 90 deletion(s). Raw diff Collapse all Expand all
385385 endif
386386
387387 # If REQUIRES_RTTI=1 is specified then don't disable run-time type id.
388 ifeq ($(REQUIRES_RTTI), 1)
389 CXX.Flags := $(filter-out -fno-rtti,$(CXX.Flags))
390 CXXFLAGS := $(filter-out -fno-rtti,$(CXXFLAGS))
388 ifneq ($(REQUIRES_RTTI), 1)
389 CXX.Flags += -fno-rtti
390 CXXFLAGS += -fno-rtti
391391 endif
392392
393393 ifdef ENABLE_COVERAGE
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMipa
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
1010 LIBRARYNAME = LLVMAnalysis
1111 DIRS = IPA
1212 BUILD_ARCHIVE = 1
13 CXXFLAGS = -fno-rtti
1413
1514 include $(LEVEL)/Makefile.common
1615
88
99 LEVEL = ../..
1010 LIBRARYNAME = LLVMArchive
11 CXXFLAGS = -fno-rtti
1211
1312 # We only want an archive so only those modules actually used by a tool are
1413 # included.
99 LEVEL = ../..
1010 LIBRARYNAME := LLVMAsmParser
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMBitReader
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMBitWriter
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMAsmPrinter
11 CXXFLAGS = -fno-rtti
1211
1312 include $(LEVEL)/Makefile.common
1010 LIBRARYNAME = LLVMCodeGen
1111 PARALLEL_DIRS = SelectionDAG AsmPrinter
1212 BUILD_ARCHIVE = 1
13 CXXFLAGS = -fno-rtti
1413
1514 include $(LEVEL)/Makefile.common
1615
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMSelectionDAG
11 CXXFLAGS = -fno-rtti
1211
1312 include $(LEVEL)/Makefile.common
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMInterpreter
11 CXXFLAGS = -fno-rtti
1211
1312 include $(LEVEL)/Makefile.common
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMJIT
11 CXXFLAGS = -fno-rtti
1211
1312 # Get the $(ARCH) setting
1413 include $(LEVEL)/Makefile.config
88 LEVEL = ../..
99 LIBRARYNAME = LLVMExecutionEngine
1010 PARALLEL_DIRS = Interpreter JIT
11 CXXFLAGS = -fno-rtti
1211
1312 include $(LEVEL)/Makefile.common
99 LEVEL = ../..
1010 LIBRARYNAME = LLVMLinker
1111 BUILD_ARCHIVE := 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMMCParser
1111 BUILD_ARCHIVE := 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
1010 LIBRARYNAME = LLVMMC
1111 BUILD_ARCHIVE := 1
1212 PARALLEL_DIRS := MCParser
13 CXXFLAGS = -fno-rtti
1413
1514 include $(LEVEL)/Makefile.common
1615
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMARMAsmParser
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' ARM target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMARMAsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' arm target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMARMCodeGen
1111 TARGET = ARM
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = ARMGenRegisterInfo.h.inc ARMGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMARMInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMAlphaAsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' alpha target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMAlphaCodeGen
1111 TARGET = Alpha
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = AlphaGenRegisterInfo.h.inc AlphaGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMAlphaInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMBlackfinAsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' Blackfin target directory to grab private
1312 # headers
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMBlackfinCodeGen
1111 TARGET = Blackfin
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = BlackfinGenRegisterInfo.h.inc BlackfinGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMBlackfinInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMCBackend
11 CXXFLAGS = -fno-rtti
12
1311 DIRS = TargetInfo
1412
1513 include $(LEVEL)/Makefile.common
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMCBackendInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMCellSPUAsmPrinter
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' CellSPU target directory to grab
1413 # private headers
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMCellSPUCodeGen
1111 TARGET = SPU
12 CXXFLAGS = -fno-rtti
13
1412 BUILT_SOURCES = SPUGenInstrNames.inc SPUGenRegisterNames.inc \
1513 SPUGenAsmWriter.inc SPUGenCodeEmitter.inc \
1614 SPUGenRegisterInfo.h.inc SPUGenRegisterInfo.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMCellSPUInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMCppBackend
11 CXXFLAGS = -fno-rtti
12
1311 DIRS = TargetInfo
1412
1513 include $(LEVEL)/Makefile.common
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMCppBackendInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMMSIL
11 CXXFLAGS = -fno-rtti
12
1311 DIRS = TargetInfo
1412
1513 include $(LEVEL)/Makefile.common
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMMSILInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMMSP430AsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' MSP430 target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMMSP430CodeGen
1111 TARGET = MSP430
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = MSP430GenRegisterInfo.h.inc MSP430GenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMMSP430Info
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../..
1010 LIBRARYNAME = LLVMTarget
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 # We include this early so we can access the value of TARGETS_TO_BUILD as the
1514 # value for PARALLEL_DIRS which must be set before Makefile.rules is included
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMMipsAsmPrinter
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' Mips target directory to grab
1413 # private headers
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMMipsCodeGen
1111 TARGET = Mips
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = MipsGenRegisterInfo.h.inc MipsGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMMipsInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMPIC16AsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' pic16 target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMPIC16CodeGen
1111 TARGET = PIC16
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = PIC16GenRegisterInfo.h.inc PIC16GenRegisterNames.inc \
99 TARGET = PIC16
1010 LIBRARYNAME = LLVMpic16passes
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMPIC16Info
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMPowerPCAsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' PowerPC target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMPowerPCCodeGen
1111 TARGET = PPC
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = PPCGenInstrNames.inc PPCGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMPowerPCInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMSparcAsmPrinter
10 CXXFLAGS = -fno-rtti
11
1210
1311 # Hack: we need to include 'main' Sparc target directory to grab private headers
1412 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMSparcCodeGen
1111 TARGET = Sparc
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = SparcGenRegisterInfo.h.inc SparcGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMSparcInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMSystemZAsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' SystemZ target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMSystemZCodeGen
1111 TARGET = SystemZ
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = SystemZGenRegisterInfo.h.inc SystemZGenRegisterNames.inc \
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMSystemZInfo
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMX86AsmParser
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' x86 target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../../../..
99 LIBRARYNAME = LLVMX86AsmPrinter
10 CXXFLAGS = -fno-rtti
1110
1211 # Hack: we need to include 'main' x86 target directory to grab private headers
1312 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMX86Disassembler
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' x86 target directory to grab private headers
1413 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMX86CodeGen
1111 TARGET = X86
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = X86GenRegisterInfo.h.inc X86GenRegisterNames.inc \
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMX86Info
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' target directory to grab private headers
1413 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMXCoreAsmPrinter
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' XCore target directory to grab private headers
1413 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMXCoreCodeGen
1111 TARGET = XCore
12 CXXFLAGS = -fno-rtti
1312
1413 # Make sure that tblgen is run, first thing.
1514 BUILT_SOURCES = XCoreGenRegisterInfo.h.inc XCoreGenRegisterNames.inc \
88
99 LEVEL = ../../../..
1010 LIBRARYNAME = LLVMXCoreInfo
11 CXXFLAGS = -fno-rtti
1211
1312 # Hack: we need to include 'main' target directory to grab private headers
1413 CPPFLAGS = -I$(PROJ_OBJ_DIR)/.. -I$(PROJ_SRC_DIR)/..
1010 LIBRARYNAME = LLVMHello
1111 LOADABLE_MODULE = 1
1212 USEDLIBS =
13 CXXFLAGS = -fno-rtti
1413
1514 include $(LEVEL)/Makefile.common
1615
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMipo
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMInstCombine
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMInstrumentation
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMScalarOpts
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
99 LEVEL = ../../..
1010 LIBRARYNAME = LLVMTransformUtils
1111 BUILD_ARCHIVE = 1
12 CXXFLAGS = -fno-rtti
1312
1413 include $(LEVEL)/Makefile.common
1514
1818 SHARED_LIBRARY = 1
1919 BUILD_ARCHIVE = 0
2020 LOADABLE_MODULE = 1
21 CXXFLAGS = -fno-rtti
2221
2322 LINK_COMPONENTS := support system
2423 LIBS += -llto
88
99 LEVEL = ../..
1010 TOOLNAME = llc
11 CXXFLAGS = -fno-rtti
1211
1312 # Include this here so we can get the configuration of the targets
1413 # that have been configured for construction. We have to do this
88
99 LEVEL := ../..
1010 TOOLNAME := lli
11 CXXFLAGS = -fno-rtti
1211 LINK_COMPONENTS := jit interpreter nativecodegen bitreader selectiondag
1312
1413 # Enable JIT support
1010 TOOLNAME = llvm-ar
1111 LINK_COMPONENTS = archive
1212 REQUIRES_EH := 1
13 #CXXFLAGS = -fno-rtti
1413
1514 # This tool has no plugins, optimize startup time.
1615 TOOL_NO_EXPORTS = 1
99 LEVEL = ../..
1010 TOOLNAME = llvm-as
1111 LINK_COMPONENTS := asmparser bitwriter
12 CXXFLAGS = -fno-rtti
1312
1413 # This tool has no plugins, optimize startup time.
1514 TOOL_NO_EXPORTS = 1
99
1010 TOOLNAME = llvm-dis
1111 LINK_COMPONENTS := bitreader
12 CXXFLAGS = -fno-rtti
1312
1413 # This tool has no plugins, optimize startup time.
1514 TOOL_NO_EXPORTS = 1
1010
1111 TOOLNAME = llvm-extract
1212 LINK_COMPONENTS := ipo bitreader bitwriter asmparser
13 CXXFLAGS = -fno-rtti
1413
1514 # This tool has no plugins, optimize startup time.
1615 TOOL_NO_EXPORTS = 1
1010
1111 TOOLNAME = llvm-ld
1212 LINK_COMPONENTS = ipo scalaropts linker archive bitwriter
13 CXXFLAGS = -fno-rtti
1413
1514 include $(LEVEL)/Makefile.common
99
1010 TOOLNAME = llvm-link
1111 LINK_COMPONENTS = linker bitreader bitwriter asmparser
12 CXXFLAGS = -fno-rtti
1312
1413 # This tool has no plugins, optimize startup time.
1514 TOOL_NO_EXPORTS = 1
1212 # This tool has no plugins, optimize startup time.
1313 TOOL_NO_EXPORTS = 1
1414 NO_INSTALL = 1
15 CXXFLAGS = -fno-rtti
1615
1716 # Include this here so we can get the configuration of the targets
1817 # that have been configured for construction. We have to do this
1212
1313 # This tool has no plugins, optimize startup time.
1414 TOOL_NO_EXPORTS = 1
15 CXXFLAGS = -fno-rtti
1615
1716 include $(LEVEL)/Makefile.common
1212
1313 # This tool has no plugins, optimize startup time.
1414 TOOL_NO_EXPORTS = 1
15 CXXFLAGS = -fno-rtti
1615
1716 include $(LEVEL)/Makefile.common
1616
1717 LINK_LIBS_IN_SHARED = 1
1818 SHARED_LIBRARY = 1
19 CXXFLAGS = -fno-rtti
2019
2120 LINK_COMPONENTS := $(TARGETS_TO_BUILD) ipo scalaropts linker bitreader bitwriter
2221
77 ##===----------------------------------------------------------------------===##
88 LEVEL = ../..
99 TOOLNAME = opt
10 CXXFLAGS = -fno-rtti
1110
1211 LINK_COMPONENTS := bitreader bitwriter asmparser instrumentation scalaropts ipo
1312
1212
1313 # Set up variables for building a unit test.
1414 ifdef TESTNAME
15
16 REQUIRES_RTTI = 1
1517
1618 include $(LEVEL)/Makefile.common
1719
1212
1313 LIBRARYNAME = UnitTestMain
1414 BUILD_ARCHIVE = 1
15 REQUIRES_RTTI = 1
1516 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
1617 CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
1718
1212
1313 LIBRARYNAME = GoogleTest
1414 BUILD_ARCHIVE = 1
15 REQUIRES_RTTI = 1
1516 CPP.Flags += -I$(LLVM_SRC_ROOT)/utils/unittest/googletest/include
1617 CPP.Flags += $(NO_MISSING_FIELD_INITIALIZERS) $(NO_VARIADIC_MACROS)
1718