diff options
author | Daniel Dunbar <daniel@zuster.org> | 2010-01-21 16:56:47 +0000 |
---|---|---|
committer | Daniel Dunbar <daniel@zuster.org> | 2010-01-21 16:56:47 +0000 |
commit | 38474aa780b095259b21001d589fb9875de2619d (patch) | |
tree | 96525ab8676645aa2aa3ec1c04d349f433cb263f | |
parent | 6d44f6ea30e3f492a464f78e47378713157f06eb (diff) |
Update to use llvm/utils/GetSourceVersion to detect version number, instead of
assuming SVN. This should be fixed to not necessarily be an integer.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@94081 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Basic/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Basic/Makefile b/lib/Basic/Makefile index 5bd4314f45..dc00450bdf 100644 --- a/lib/Basic/Makefile +++ b/lib/Basic/Makefile @@ -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)"' |