diff options
author | Johannes Schindelin <johannes.schindelin@gmx.de> | 2018-11-06 06:55:50 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2018-11-07 11:58:24 +0900 |
commit | adb59def102180b0e23ac835f41cd4f6b7a0960f (patch) | |
tree | a9b50a561ffc4de64940443b93d8008ab028540e /attr.c | |
parent | Ninth batch for 2.20 (diff) | |
download | tgif-adb59def102180b0e23ac835f41cd4f6b7a0960f.tar.xz |
Windows: force-recompile git.res for differing architectures
When git.rc is compiled into git.res, the result is actually dependent
on the architecture. That is, you cannot simply link a 32-bit git.res
into a 64-bit git.exe.
Therefore, to allow 32-bit and 64-bit builds in the same directory, we
let git.res depend on GIT-PREFIX so that it gets recompiled when
compiling for a different architecture (this works because the exec path
changes based on the architecture: /mingw32/libexec/git-core for 32-bit
and /mingw64/libexec/git-core for 64-bit).
Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'attr.c')
0 files changed, 0 insertions, 0 deletions