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
This commit is contained in:
Reid Spencer 2004-12-08 04:26:23 +00:00
parent 8f4102d33f
commit 2e2035b35b
2 changed files with 7 additions and 9 deletions

View File

@ -146,20 +146,24 @@ install-bytecode:: install-bytecode-local
# Variables derived from configuration we are building # Variables derived from configuration we are building
#-------------------------------------------------------------------- #--------------------------------------------------------------------
CommonCXXOpts := -Woverloaded-virtual
ifdef ENABLE_PROFILING ifdef ENABLE_PROFILING
BuildMode := Profile BuildMode := Profile
CXX.Flags := -O3 -DNDEBUG -felide-constructors -finline-functions -pg CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -felide-constructors \
-finline-functions -pg
C.Flags := -O3 -DNDEBUG -pg C.Flags := -O3 -DNDEBUG -pg
LD.Flags := -O3 -DNDEBUG -pg LD.Flags := -O3 -DNDEBUG -pg
else else
ifdef ENABLE_OPTIMIZED ifdef ENABLE_OPTIMIZED
BuildMode := Release BuildMode := Release
CXX.Flags := -O3 -DNDEBUG -finline-functions -felide-constructors -fomit-frame-pointer CXX.Flags := -O3 -DNDEBUG $(CommonCXXOpts) -finline-functions \
-felide-constructors -fomit-frame-pointer
C.Flags := -O3 -DNDEBUG -fomit-frame-pointer C.Flags := -O3 -DNDEBUG -fomit-frame-pointer
LD.Flags := -O3 -DNDEBUG LD.Flags := -O3 -DNDEBUG
else else
BuildMode := Debug BuildMode := Debug
CXX.Flags := -g -D_DEBUG CXX.Flags := -g -D_DEBUG $(CommonCXXOpts)
C.Flags := -g -D_DEBUG C.Flags := -g -D_DEBUG
LD.Flags := -g -D_DEBUG LD.Flags := -g -D_DEBUG
KEEP_SYMBOLS := 1 KEEP_SYMBOLS := 1
@ -214,10 +218,6 @@ ifndef LLVMGXX
LLVMGXX := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCCDIR)/bin/g++ LLVMGXX := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCCDIR)/bin/g++
endif endif
# Need a better way to compute this.
LLVMGCCLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libgcc.a))/
LLVMGCCStdCXXLibDir := $(dir $(shell $(LLVMGCC) -print-file-name=libstdc++.a))/
#-------------------------------------------------------------------- #--------------------------------------------------------------------
# Adjust to user's request # Adjust to user's request
#-------------------------------------------------------------------- #--------------------------------------------------------------------

View File

@ -906,8 +906,6 @@
LibTool.Flags LibTool.Flags
Link Link
LinkModule LinkModule
LLVMGCCLibDir
LLVMGCCStdCXXLibDir
LLVMLibDir LLVMLibDir
LLVMLibsOptions LLVMLibsOptions
LLVMLibsPaths LLVMLibsPaths