Make sure that tool names don't have any leading or trailing spaces in them.

If they do, it screws up the concatenation of the .exe suffix on cygwin.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@22141 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2005-05-19 21:03:11 +00:00
parent aa8bc43007
commit 5da2d08433
2 changed files with 3 additions and 3 deletions

View File

@ -881,9 +881,9 @@ ifdef TOOLNAME
# Set up variables for building a tool.
#---------------------------------------------------------
ifdef EXAMPLE_TOOL
ToolBuildPath := $(ExmplDir)/$(TOOLNAME)$(EXEEXT)
ToolBuildPath := $(ExmplDir)/$(strip $(TOOLNAME))$(EXEEXT)
else
ToolBuildPath := $(ToolDir)/$(TOOLNAME)$(EXEEXT)
ToolBuildPath := $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT)
endif
#---------------------------------------------------------

View File

@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===##
LEVEL = ../..
TOOLNAME = llvm-ar
TOOLNAME = llvm-ar
USEDLIBS = LLVMArchive.a LLVMBCReader \
LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a