summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJakob P. Liljenberg <admin@qvantnet.com>2023-08-26 19:18:07 +0200
committerGitHub <noreply@github.com>2023-08-26 19:18:07 +0200
commit8a49d8cf456d0a15db65e7dc704d627b75a0fe43 (patch)
tree70a79ccadcba70ae18f9bb346fca35cb473ed53b
parent1556388c83644d122fab9241aa876232d94d1928 (diff)
parent008fcd889e862f1d378d331dab51b3d3ce9d9f3c (diff)
Merge pull request #600 from joske/makefile
[macos/freebsd] support gcc13
-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