From 0fdca5eb0385253969e029fdfcf1fb9cff83ea33 Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Wed, 23 Aug 2023 15:54:07 +0200 Subject: [PATCH 1/2] 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 From 008fcd889e862f1d378d331dab51b3d3ce9d9f3c Mon Sep 17 00:00:00 2001 From: Jos Dehaes Date: Wed, 23 Aug 2023 16:05:00 +0200 Subject: [PATCH 2/2] also add g++13 --- Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Makefile b/Makefile index 13e3567..01e98d5 100644 --- a/Makefile +++ b/Makefile @@ -59,6 +59,8 @@ ifeq ($(CLANG_WORKS),false) #? Try to find a newer GCC version ifeq ($(shell command -v g++-13 >/dev/null; echo $$?),0) CXX := g++-13 + else 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)