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
1 file changed
+2 -2
+2 -2
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
#---------------------------------------------------------