Added autodetection for gcc12 to make compiling on macos Ventura easier.

This commit is contained in:
aristocratos 2022-10-28 22:33:16 +02:00
parent 9f0fcdd5bf
commit a201944dc7

View file

@ -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