From a201944dc740742cd8845c7785b476cb8e936f2a Mon Sep 17 00:00:00 2001 From: aristocratos Date: Fri, 28 Oct 2022 22:33:16 +0200 Subject: [PATCH] Added autodetection for gcc12 to make compiling on macos Ventura easier. --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index 4a607a1..ec9f90a 100644 --- a/Makefile +++ b/Makefile @@ -63,7 +63,9 @@ else endif #? Compiler and Linker -ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0) +ifeq ($(shell command -v g++-12 >/dev/null; echo $$?),0) + CXX := g++-12 +else ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0) CXX := g++-11 else ifeq ($(shell command -v g++11 >/dev/null; echo $$?),0) CXX := g++11