diff options
author | aristocratos <gnmjpl@gmail.com> | 2023-12-12 23:19:31 +0100 |
---|---|---|
committer | aristocratos <gnmjpl@gmail.com> | 2023-12-12 23:19:31 +0100 |
commit | 2d2df23198b6b08bdce21ee0d4f7e3a2b6c37d0b (patch) | |
tree | 9a7d8a7ee18b1a21ccf1491d3b81fb8f85a6f1e0 | |
parent | d7b581eda4560e969459d5f4a1e0ef811e5a08be (diff) | |
parent | b71538eabe06607042201e21af9a078277f3b3e8 (diff) |
Merge branch 'main' of github.com:aristocratos/btop
-rw-r--r-- | Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -59,10 +59,14 @@ override CXX_VERSION_MAJOR := $(shell echo $(CXX_VERSION) | cut -d '.' -f 1) CLANG_WORKS = false GCC_WORKS = false +MIN_CLANG_VERSION = 16 #? Supported is Clang 16.0.0 and later ifeq ($(CXX_IS_CLANG),true) - ifneq ($(shell test $(CXX_VERSION_MAJOR) -lt 16; echo $$?),0) + ifeq ($(shell $(CXX) --version | grep Apple >/dev/null 2>&1; echo $$?),0) + MIN_CLANG_VERSION := 15 + endif + ifneq ($(shell test $(CXX_VERSION_MAJOR) -lt $(MIN_CLANG_VERSION); echo $$?),0) CLANG_WORKS := true endif endif |