summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJos Dehaes <jos.dehaes@gmail.com>2023-08-23 16:05:00 +0200
committerJos Dehaes <jos.dehaes@gmail.com>2023-08-23 16:11:31 +0200
commit008fcd889e862f1d378d331dab51b3d3ce9d9f3c (patch)
tree4e7440be123b7db7fccdbd6d563731f194fdda08
parent0fdca5eb0385253969e029fdfcf1fb9cff83ea33 (diff)
also add g++13
-rw-r--r--Makefile2
1 files changed, 2 insertions, 0 deletions
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)