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 committed 2005-05-19 21:03:11 +00:00
1 parent aa8bc43007
commit 5da2d08433
2 files changed
+3 -3

No files matched your search

+2 -2
View File
@@ -881,9 +881,9 @@ ifdef TOOLNAME
# Set up variables for building a tool. # Set up variables for building a tool.
#--------------------------------------------------------- #---------------------------------------------------------
ifdef EXAMPLE_TOOL ifdef EXAMPLE_TOOL
ToolBuildPath := $(ExmplDir)/$(TOOLNAME)$(EXEEXT) ToolBuildPath := $(ExmplDir)/$(strip $(TOOLNAME))$(EXEEXT)
else else
ToolBuildPath := $(ToolDir)/$(TOOLNAME)$(EXEEXT) ToolBuildPath := $(ToolDir)/$(strip $(TOOLNAME))$(EXEEXT)
endif endif
#--------------------------------------------------------- #---------------------------------------------------------
+1 -1
View File
@@ -8,7 +8,7 @@
##===----------------------------------------------------------------------===## ##===----------------------------------------------------------------------===##
LEVEL = ../.. LEVEL = ../..
TOOLNAME = llvm-ar TOOLNAME = llvm-ar
USEDLIBS = LLVMArchive.a LLVMBCReader \ USEDLIBS = LLVMArchive.a LLVMBCReader \
LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a