Skip to content

Commit

Permalink
Merge pull request aristocratos#600 from joske/makefile
Browse files Browse the repository at this point in the history
[macos/freebsd] support gcc13
  • Loading branch information
aristocratos committed Aug 26, 2023
2 parents 1556388 + 008fcd8 commit 8a49d8c
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion Makefile
Expand Up @@ -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
Expand Down

0 comments on commit 8a49d8c

Please sign in to comment.