From f31791971506496aecf88302e87645711a755453 Mon Sep 17 00:00:00 2001 From: Krystine Sherwin <93062060+KrystalDelusion@users.noreply.github.com> Date: Fri, 8 Mar 2024 18:08:19 +1300 Subject: [PATCH] Makefile: Move CXX print inside an if block --- Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 62a17168036..352f8333591 100644 --- a/Makefile +++ b/Makefile @@ -364,11 +364,14 @@ EXE = .exe else ifneq ($(CONFIG),none) $(error Invalid CONFIG setting '$(CONFIG)'. Valid values: clang, gcc, emcc, mxe, msys2-32, msys2-64) else -$(info Using provided C++ compiler, '$(CXX)'.) CXXFLAGS += -std=$(CXXSTD) -Os ABCMKARGS += ARCHFLAGS="-DABC_USE_STDINT_H $(ABC_ARCHFLAGS)" endif +ifdef WHICH_CXX +$(info Using provided C++ compiler, '$(CXX)'.) +endif + ifeq ($(ENABLE_LIBYOSYS),1) TARGETS += libyosys.so endif