summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorLibravatar Marius Storm-Olsen <mstormo@gmail.com>2009-09-16 10:20:31 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2009-09-18 20:00:42 -0700
commitf5c3178151e3963cc8cf73fdc200831850b7a632 (patch)
tree95f5f3b430d1fc108bdc6dce3f047cb49e584faf /Makefile
parentAdd scripts to generate projects for other buildsystems (MSVC vcproj, QMake) (diff)
downloadtgif-f5c3178151e3963cc8cf73fdc200831850b7a632.tar.xz
Tag GIT_VERSION when Git is built with MSVC
This may help us debug issues on Windows, as we now can build Git natively on Windows with both MinGW and MSVC. Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com> Acked-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcc086ad49..12defd4c97 100644
--- a/Makefile
+++ b/Makefile
@@ -877,6 +877,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
UNRELIABLE_FSTAT = UnfortunatelyYes
endif
ifdef MSVC
+ GIT_VERSION := $(GIT_VERSION).MSVC
pathsep = ;
NO_PREAD = YesPlease
NO_OPENSSL = YesPlease