summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index bf65595..01e98d5 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,11 @@ 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++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