mirror of
https://github.com/aristocratos/btop.git
synced 2024-06-12 15:34:41 +12:00
Merge pull request #600 from joske/makefile
[macos/freebsd] support gcc13
This commit is contained in:
commit
8a49d8cf45
6
Makefile
6
Makefile
|
@ -57,7 +57,11 @@ ifeq ($(CXX_IS_CLANG),true)
|
||||||
endif
|
endif
|
||||||
ifeq ($(CLANG_WORKS),false)
|
ifeq ($(CLANG_WORKS),false)
|
||||||
#? Try to find a newer GCC version
|
#? 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
|
CXX := g++-12
|
||||||
else ifeq ($(shell command -v g++12 >/dev/null; echo $$?),0)
|
else ifeq ($(shell command -v g++12 >/dev/null; echo $$?),0)
|
||||||
CXX := g++12
|
CXX := g++12
|
||||||
|
|
Loading…
Reference in a new issue