mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-11-01 15:11:24 +00:00
Use quotes properly so that the possibility of a null variable set is
eliminated. This can happen, for example, if LLVM is configured without llvm-gcc in which case things like LLVMGCC_VERSION will be empty. In such cases, deja-gnu fails with: can't read "llvmgcc_version": no such variable because it sees: set llvmgcc_version instead of: set llvmgcc_version "" git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27676 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
8cfc9c4a53
commit
db4264fee1
@ -40,11 +40,11 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
|
||||
@echo '## these variables are automatically generated by make ##' >site.tmp
|
||||
@echo '# Do not edit here. If you wish to override these values' >>site.tmp
|
||||
@echo '# edit the last section' >>site.tmp
|
||||
@echo "set target_triplet $(TARGET_TRIPLE)" >> site.tmp
|
||||
@echo "set llvmgcc_version $(LLVMGCC_VERSION)" >> site.tmp
|
||||
@echo 'set target_triplet "$(TARGET_TRIPLE)"' >> site.tmp
|
||||
@echo 'set llvmgcc_version "$(LLVMGCC_VERSION)"' >> site.tmp
|
||||
@echo 'set prcontext "$(TCLSH) $(LLVM_SRC_ROOT)/test/Scripts/prcontext.tcl"' >> site.tmp
|
||||
@echo 'set srcdir $(LLVM_SRC_ROOT)/test' >>site.tmp
|
||||
@echo "set objdir $(LLVM_OBJ_ROOT)/test" >>site.tmp
|
||||
@echo 'set srcdir "$(LLVM_SRC_ROOT)/test"' >>site.tmp
|
||||
@echo 'set objdir "$(LLVM_OBJ_ROOT)/test"' >>site.tmp
|
||||
@echo 'set llvmgcc "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
|
||||
@echo 'set llvmgxx "PATH=\"$(LLVMToolDir):$(PATH)\" \"$(LLVMGCC)\""' >> site.tmp
|
||||
@echo 'set llvmgccmajvers "$(LLVMGCC_MAJVERS)"' >> site.tmp
|
||||
|
Loading…
Reference in New Issue
Block a user