mirror of
https://github.com/RPCS3/llvm.git
synced 2025-04-02 13:21:43 +00:00
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:
parent
aa8bc43007
commit
5da2d08433
@ -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
|
||||
|
||||
#---------------------------------------------------------
|
||||
|
@ -8,7 +8,7 @@
|
||||
##===----------------------------------------------------------------------===##
|
||||
LEVEL = ../..
|
||||
|
||||
TOOLNAME = llvm-ar
|
||||
TOOLNAME = llvm-ar
|
||||
USEDLIBS = LLVMArchive.a LLVMBCReader \
|
||||
LLVMCore LLVMSupport.a LLVMbzip2 LLVMSystem.a
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user