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 | ae928714df9f3cbd1b858e467fb7de4a34c09eca (patch) | |
tree | 3e315702dde9a4b29202773da85b703029f6847d /clang/lib/Basic/Makefile | |
parent | d723b01311cddab3030c0614a3dd0a971e75385f (diff) | |
download | bcm5719-llvm-ae928714df9f3cbd1b858e467fb7de4a34c09eca.tar.gz bcm5719-llvm-ae928714df9f3cbd1b858e467fb7de4a34c09eca.zip |
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
Diffstat (limited to 'clang/lib/Basic/Makefile')
-rw-r--r-- | clang/lib/Basic/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Basic/Makefile b/clang/lib/Basic/Makefile index 5bd4314f45c..dc00450bdfa 100644 --- a/clang/lib/Basic/Makefile +++ b/clang/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)"' |