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

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

llvm-svn: 27465
This commit is contained in:
Reid Spencer 2006-04-06 22:22:08 +00:00
parent aed84e46fc
commit c5aca114a0
1 changed files with 1 additions and 0 deletions

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