From: Reid Spencer Date: Sun, 2 Jan 2005 09:45:54 +0000 (+0000) Subject: Quote the PATH variable value just in case it has spaces in it (like on X-Git-Url: http://demsky.eecs.uci.edu/git/?a=commitdiff_plain;h=4a1e5c09bbea6df0cbe35e8a2be21b5c870db5d8;p=oota-llvm.git Quote the PATH variable value just in case it has spaces in it (like on Cygwin). git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19255 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/Makefile.rules b/Makefile.rules index 32943e2255c..ed29614397b 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -252,8 +252,8 @@ endif ifndef LOPT LOPT := $(LLVMToolDir)/opt$(EXEEXT) endif -LLVMGCCWITHPATH := PATH=$(LLVMToolDir):$(PATH) $(LLVMGCC) -LLVMGXXWITHPATH := PATH=$(LLVMToolDir):$(PATH) $(LLVMGXX) +LLVMGCCWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGCC) +LLVMGXXWITHPATH := PATH="$(LLVMToolDir):$(PATH)" $(LLVMGXX) #-------------------------------------------------------------------- # Adjust to user's request