diff options
author | Chris Lattner <sabre@nondot.org> | 2009-02-26 17:48:04 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-02-26 17:48:04 +0000 |
commit | b06b0127c70def475fb46c27ff9ff1a6d196c345 (patch) | |
tree | 48924ee6b7ba9ead1b5276bf9d51656b7d04714c | |
parent | 730f909e146b0ac5dbcf9b8be65cb8f82c68d883 (diff) |
move this makefile goop up to the top level llvm makefile.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@65544 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | Driver/Makefile | 13 |
1 files changed, 3 insertions, 10 deletions
diff --git a/Driver/Makefile b/Driver/Makefile index 6bcd62ef7a..460c30fe1c 100644 --- a/Driver/Makefile +++ b/Driver/Makefile @@ -3,21 +3,14 @@ TOOLNAME = clang CPPFLAGS += -I$(PROJ_SRC_DIR)/../include CXXFLAGS = -fno-rtti +# Clang has no plugins, optimize startup time. +TOOL_NO_EXPORTS = 1 + # Include this here so we can get the configuration of the targets # that have been configured for construction. We have to do this # early so we can set up LINK_COMPONENTS before including Makefile.rules include $(LEVEL)/Makefile.config -# Optimize startup time of the app by not exporting all of the weak symbols -# from the binary. This reduces dyld startup time by 4x. -ifeq ($(OS),Darwin) -LD.Flags += -Wl,-exported_symbol -Wl,_main -endif - -ifeq ($(OS), $(filter $(OS), Linux NetBSD FreeBSD)) -LD.Flags += -Wl,--version-script=Driver.map -endif - LINK_COMPONENTS := $(TARGETS_TO_BUILD) bitreader bitwriter codegen ipo selectiondag USEDLIBS = clangCodeGen.a clangAnalysis.a clangRewrite.a clangSema.a \ clangDriver.a clangAST.a clangParse.a clangLex.a \ |