support gcc13
This commit is contained in:
4
Makefile
4
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
|
||||
|
||||
Reference in New Issue
Block a user