Commit 874c21b
committed
fixup! mingw: allow
This patch makes it so that Git really sets the desired `MSYSTEM` on
Windows/ARM64.
The reason this did not work (and my faulty tests did not catch that
before merging git-for-windows#5586) is that
clang (at least version 20.1.3 as built from
https://github.com/git-for-windows/MINGW-packages
8df0c2fff4184deff15acce9bfd791fb6e0d60fe) predefines the `__MINGW64__`
constant:
$ echo | clang -dM -E - | grep -n MINGW64
249:#define __MINGW64__ 1
Let's just switch the order between the CLANGARM64 and the MINGW64 test;
This will still work for MINGW64 because none of the constants used in
the CLANGARM64 condition are defined for x64 gcc (or for that matter,
clang).
Signed-off-by: Johannes Schindelin <[email protected]>git.exe to be used instead of the "Git wrapper"1 parent eaeb5b5 commit 874c21b
1 file changed
+3
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3722 | 3722 | | |
3723 | 3723 | | |
3724 | 3724 | | |
3725 | | - | |
3726 | | - | |
3727 | | - | |
| 3725 | + | |
3728 | 3726 | | |
| 3727 | + | |
| 3728 | + | |
3729 | 3729 | | |
3730 | 3730 | | |
3731 | 3731 | | |
| |||
0 commit comments