Add the variable llvmgccmajvers to the site.exp file. This will contain

the major version number of llvm-gcc, as configured.


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@27465 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2006-04-06 22:22:08 +00:00
parent 93bc3cdd43
commit 805ab0789a

View File

@ -46,6 +46,7 @@ site.exp: Makefile $(LLVM_OBJ_ROOT)/Makefile.config
@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
@echo '## All variables above are generated by configure. Do Not Edit ## ' >>site.tmp
@test ! -f site.exp || \
sed '1,/^## All variables above are.*##/ d' site.exp >> site.tmp