summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJos Dehaes <jos.dehaes@gmail.com>2023-08-23 15:54:07 +0200
committerJos Dehaes <jos.dehaes@gmail.com>2023-08-23 15:54:07 +0200
commit0fdca5eb0385253969e029fdfcf1fb9cff83ea33 (patch)
tree63218d62f79a4878bd8f3f42dac74a7986a35e13
parent1b126f55e38de76a2cca796593ef1554828d61e6 (diff)
support gcc13
-rw-r--r--Makefile4
1 files changed, 3 insertions, 1 deletions
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