Quote the paths and not the assignment of the PATH variable.
authorJohn Criswell <criswell@uiuc.edu>
Mon, 3 Jan 2005 17:42:57 +0000 (17:42 +0000)
committerJohn Criswell <criswell@uiuc.edu>
Mon, 3 Jan 2005 17:42:57 +0000 (17:42 +0000)
This seems to make things happier.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@19276 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 133896419a697e99825b3b735378ded5203f9475..65790880be536c24cc1dbcba94b4201f7fbafc97 100644 (file)
@@ -257,8 +257,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