Remove work around for msys2 / mingw64 not setting CC.

This was a upstream bug which has been resolved long ago. Closes #901.
This commit is contained in:
Yamagi 2022-10-08 16:29:59 +02:00
parent 434bc90fbb
commit d29e551773

View file

@ -117,11 +117,6 @@ YQ2_ARCH ?= $(shell uname -m)
endif
endif
# On Windows / MinGW $(CC) is undefined by default.
ifeq ($(YQ2_OSTYPE),Windows)
CC ?= gcc
endif
# Detect the compiler
ifeq ($(shell $(CC) -v 2>&1 | grep -c "clang version"), 1)
COMPILER := clang