Index: Makefile.standalone |
diff --git a/Makefile.standalone b/Makefile.standalone |
index 56fd8a444f6451819458dbb39c4fab297192fdb0..f3a5d877191cfce20594178941332d77d4d2a227 100644 |
--- a/Makefile.standalone |
+++ b/Makefile.standalone |
@@ -111,7 +111,9 @@ ifdef SZTARGET |
endif |
BASE_CXX_DEFINES += -DPNACL_LLVM |
-BASE_CXX_DEFINES += -DSUBZERO_REVISION=$(shell git rev-parse HEAD) |
+SZ_COMMIT_COUNT := $(shell git rev-list --count HEAD) |
+SZ_GIT_HASH := $(shell git rev-parse HEAD) |
+BASE_CXX_DEFINES += -DSUBZERO_REVISION=$(SZ_COMMIT_COUNT)_$(SZ_GIT_HASH) |
CXX_DEFINES := $(BASE_CXX_DEFINES) -DPNACL_BROWSER_TRANSLATOR=0 |