From 2dc5fc674e1b8fe4276e6fe611da52cfb41318f7 Mon Sep 17 00:00:00 2001 From: Tim Angus Date: Mon, 14 Jul 2025 17:00:09 +0100 Subject: [PATCH] Add CC_VERSION to info message --- Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/Makefile b/Makefile index 80f0cad7..417c0431 100644 --- a/Makefile +++ b/Makefile @@ -1136,6 +1136,8 @@ ifndef CC CC=gcc endif +CC_VERSION=$(shell $(CC) --version | head -n1) + ifndef RANLIB RANLIB=ranlib endif @@ -1598,6 +1600,7 @@ targets: makedirs @echo " HAVE_VM_COMPILED: $(HAVE_VM_COMPILED)" @echo " PKG_CONFIG: $(PKG_CONFIG)" @echo " CC: $(CC)" + @echo " CC_VERSION: $(CC_VERSION)" ifeq ($(PLATFORM),mingw32) @echo " WINDRES: $(WINDRES)" endif