aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2005-01-02 09:45:54 +0000
committerReid Spencer <rspencer@reidspencer.com>2005-01-02 09:45:54 +0000
commit4a1e5c09bbea6df0cbe35e8a2be21b5c870db5d8 (patch)
tree219ee7b818c915b4d7d99ffcea13cc8e14313a91
parentd6b1f5fee6bc5294d926f97f4da3863a03377c52 (diff)
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
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 32943e2255..ed29614397 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