diff options
| author | 2015-07-14 11:11:45 +0200 | |
|---|---|---|
| committer | 2015-07-14 11:11:45 +0200 | |
| commit | 7db7f9e159ccb879b68b5dfa8fc80191e6ea2b83 (patch) | |
| tree | e31ee527ff29cc6932b06de94517e59b0333229e /makefile | |
| parent | 1cba08f4246386ad3188f727290fc1ac1e0fb95f (diff) | |
fix clang version detection on macos
Diffstat (limited to 'makefile')
| -rw-r--r-- | makefile | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -696,7 +696,7 @@ CHECK_CLANG := else GCC_VERSION := $(shell $(subst @,,$(CC)) -dumpversion 2> /dev/null) ifneq ($(OS),solaris) -CLANG_VERSION := $(shell clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | head -n 1) +CLANG_VERSION := $(shell clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | tail -n 1) endif PYTHON_AVAILABLE := $(shell $(PYTHON) --version > /dev/null 2>&1 && echo python) CHECK_CLANG := $(shell gcc --version 2> /dev/null | grep 'clang' | head -n 1) |
