Update to use llvm/utils/GetSourceVersion to detect version number, instead of

assuming SVN. This should be fixed to not necessarily be an integer.

llvm-svn: 94081
This commit is contained in:
Daniel Dunbar 2010-01-21 16:56:47 +00:00
parent d723b01311
commit ae928714df
1 changed files with 1 additions and 1 deletions

View File

@ -20,7 +20,7 @@ CPPFLAGS += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include
include $(LEVEL)/Makefile.common
SVN_REVISION := $(shell cd $(PROJ_SRC_DIR)/../.. && svnversion)
SVN_REVISION := $(shell $(LLVM_SRC_ROOT)/utils/GetSourceVersion $(PROJ_SRC_DIR)/../..)
CPP.Defines += -I$(PROJ_SRC_DIR)/../../include -I$(PROJ_OBJ_DIR)/../../include \
-DSVN_REVISION='"$(SVN_REVISION)"'