mirror of
https://github.com/aristocratos/btop.git
synced 2024-05-19 03:43:45 +12:00
Added autodetection for gcc12 to make compiling on macos Ventura easier.
This commit is contained in:
parent
9f0fcdd5bf
commit
a201944dc7
4
Makefile
4
Makefile
|
@ -63,7 +63,9 @@ else
|
||||||
endif
|
endif
|
||||||
|
|
||||||
#? Compiler and Linker
|
#? Compiler and Linker
|
||||||
ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0)
|
ifeq ($(shell command -v g++-12 >/dev/null; echo $$?),0)
|
||||||
|
CXX := g++-12
|
||||||
|
else ifeq ($(shell command -v g++-11 >/dev/null; echo $$?),0)
|
||||||
CXX := g++-11
|
CXX := g++-11
|
||||||
else ifeq ($(shell command -v g++11 >/dev/null; echo $$?),0)
|
else ifeq ($(shell command -v g++11 >/dev/null; echo $$?),0)
|
||||||
CXX := g++11
|
CXX := g++11
|
||||||
|
|
Loading…
Reference in a new issue