@@ -1,4 +1,6 @@
1−ifneq (, $(findstring MSYS, $(shell uname -a)))
1+UNAME_INFO := $(shell uname -a)
3+ifeq ($(filter , $(findstring MSYS, $(UNAME_INFO)) $(findstring MINGW, $(UNAME_INFO))),)
2 ifeq (cc,$(CC))
4 ifeq (cc,$(CC))
3 # In MSYS2, when using the mingw version of gcc, there is no cc -> gcc
5 # In MSYS2, when using the mingw version of gcc, there is no cc -> gcc
4 # symlink. We can't use ?= here because CC is set implicitly to cc.
6 # symlink. We can't use ?= here because CC is set implicitly to cc.