diff options
author | Jakob P. Liljenberg <admin@qvantnet.com> | 2023-08-26 19:18:07 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-08-26 19:18:07 +0200 |
commit | 8a49d8cf456d0a15db65e7dc704d627b75a0fe43 (patch) | |
tree | 70a79ccadcba70ae18f9bb346fca35cb473ed53b | |
parent | 1556388c83644d122fab9241aa876232d94d1928 (diff) | |
parent | 008fcd889e862f1d378d331dab51b3d3ce9d9f3c (diff) |
Merge pull request #600 from joske/makefile
[macos/freebsd] support gcc13
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -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 |