llvm.org GIT mirror llvm / 2e2035b
Remove variables that are not used by any of the LLVM makefiles git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@18614 91177308-0d34-0410-b5e6-96231b3b80d8 Reid Spencer 14 years ago
2 changed file(s) with 7 addition(s) and 9 deletion(s). Raw diff Collapse all Expand all
145145 # Variables derived from configuration we are building
146146 #--------------------------------------------------------------------
147147
148 CommonCXXOpts := -Woverloaded-virtual
149
148150 ifdef ENABLE_PROFILING
149151 BuildMode := Profile
150 CXX.Flags := -O3 -DNDEBUG -felide-constructors -finline-functions -pg
152 CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -felide-constructors \
153 -finline-functions -pg
151154 C.Flags := -O3 -DNDEBUG -pg
152155 LD.Flags := -O3 -DNDEBUG -pg
153156 else
154157 ifdef ENABLE_OPTIMIZED
155158 BuildMode := Release
156 CXX.Flags := -O3 -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer
159 CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -finline-functions \
160 -felide-constructors -fomit-frame-pointer
157161 C.Flags := -O3 -DNDEBUG -fomit-frame-pointer
158162 LD.Flags := -O3 -DNDEBUG
159163 else
160164 BuildMode := Debug
161 CXX.Flags := -g -D_DEBUG
165 CXX.Flags := -g -D_DEBUG $(CommonCXXOpts)
162166 C.Flags := -g -D_DEBUG
163167 LD.Flags := -g -D_DEBUG
164168 KEEP_SYMBOLS := 1
212216 ifndef LLVMGXX
213217 LLVMGXX := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCCDIR)/bin/g++
214218 endif
215
216 # Need a better way to compute this.
217 LLVMGCCLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))/
218 LLVMGCCStdCXXLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libstdc++.a))/
219219
220220 #--------------------------------------------------------------------
221221 # Adjust to user's request
905905 LibTool.Flags
906906 Link
907907 LinkModule
908 LLVMGCCLibDir
909 LLVMGCCStdCXXLibDir
910908 LLVMLibDir
911909 LLVMLibsOptions
912910 LLVMLibsPaths