patch 8.2.5101: MS-Windows with MinGW: $CC may be "cc" instead of "gcc"

Problem:    MS-Windows with MinGW: $CC may be "cc" instead of "gcc".
Solution:   Set $CC if it is not matching "clang". (Yegappan Lakshmanan,
            closes #10578)
This commit is contained in:
Yegappan Lakshmanan
2022-06-15 18:31:45 +01:00
committed by Bram Moolenaar
parent dad5d2f87b
commit cf65d88ff8
3 changed files with 9 additions and 4 deletions

View File

@ -296,9 +296,10 @@ Go to the source directory of Vim, then execute the make command. E.g.:
CC=clang
CXX=clang++
make -f Make_ming.mak
# To build Vim without the GUI support
make -f Make_ming.mak GUI=no
make -f Make_ming.mak GUI=yes
# To build Vim with the GUI support
make -f Make_ming.mak GUI=yes XPM=no
To build Vim with the address sanitizer (ASAN), execute the following command: