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)
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:
DIRSLASH = \\
endif
endif
-ifeq ($(CC),)
+# set $CC to "gcc" unless it matches "clang"
+ifeq ($(findstring clang,$(CC)),)
CC := $(CROSS_COMPILE)gcc
endif
-ifeq ($(CXX),)
+# set $CXX to "g++" unless it matches "clang"
+ifeq ($(findstring clang,$(CXX)),)
CXX := $(CROSS_COMPILE)g++
endif
ifeq ($(UNDER_CYGWIN),yes)
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 5101,
/**/
5100,
/**/