Re: [PATCH 1/1] Windows: force-recompile git.res for differing architectures
- From
Johannes Sixt <j6t@kdbg.org>
- Date
- Nov 7, 2018, 06:55 UTC
- Message-ID
- <ad98ab16-c6bf-7294-f498-d0e7295105fc@kdbg.org>
- In-Reply-To
- <xmqqk1lpd65h.fsf@gitster-ct.c.googlers.com>
Am 07.11.18 um 02:32 schrieb Junio C Hamano:
Show 11 quoted lines
> Johannes Sixt <j6t@kdbg.org> writes: >> On Linux, when I recompile for a different architecture, CFLAGS would >> change, so I would have thought that GIT-CFLAGS were the natural >> choice for a dependency. Don't they change in this case on Windows, >> too? > > Depending on GIT-CFLAGS would have a better chance of being safe, I > guess, even though it can at times be overly safe, than GIT-PREFIX, > I suspect. As a single user target in Makefile, which is only used > by Dscho, who intends to stick to /mingw(32|64)/ convention til the > end of time, I think the posted patch is OK, though.
I think that it's not only Dscho who uses the target (my build environment, for example, is different from Dscho's and compiles git.res, too). But since the patch helps him most and doesn't hurt others, it is good to go. No objection from my side.
-- Hannes