From 0fdca5eb0385253969e029fdfcf1fb9cff83ea33 Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Wed, 23 Aug 2023 15:54:07 +0200 Subject: [PATCH] support gcc13 --- Makefile | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Makefile b/Makefile index bf65595..13e3567 100644 --- a/Makefile +++ b/Makefile @@ -57,7 +57,9 @@ ifeq ($(CXX_IS_CLANG),true) endif ifeq ($(CLANG_WORKS),false) #? Try to find a newer GCC version - ifeq ($(shell command -v g++-12 >/dev/null; echo $$?),0) + ifeq ($(shell command -v g++-13 >/dev/null; echo $$?),0) + CXX := g++-13 + else ifeq ($(shell command -v g++-12 >/dev/null; echo $$?),0) CXX := g++-12 else ifeq ($(shell command -v g++12 >/dev/null; echo $$?),0) CXX := g++12