]> git.lizzy.rs Git - rust.git/commit
Makefile: Get git revision correctly on Windows
authorklutzy <klutzytheklutzy@gmail.com>
Mon, 7 Oct 2013 09:15:50 +0000 (18:15 +0900)
committerklutzy <klutzytheklutzy@gmail.com>
Wed, 9 Oct 2013 07:38:41 +0000 (16:38 +0900)
commit6434d0b58f094497075fe58c1ed257a2077f02ce
tree249660687f20e50f33a94f3159e95521ba480190
parent8eb28bb7dcd77ac9e804ab2d75b387ca3f47f9d4
Makefile: Get git revision correctly on Windows

Fixes a bug that `rustc.exe -v` didn't show git revision hash.
The bug is caused by that `$(wildcard $(CFG_GIT))` requires
space-escaped inputs while `$(CFG_GIT)` is usually
`C:\Program Files (x86)\Git\bin\git.exe`.
Makefile.in