diff options
| author | 2015-07-14 20:30:01 +0200 | |
|---|---|---|
| committer | 2015-07-14 20:30:01 +0200 | |
| commit | 13967bb8a0bba3e6ab17d07af5b89c165b70f386 (patch) | |
| tree | 997ce1e7ef0dcc80870b9c108528e1cb16aeb137 /makefile | |
| parent | 943ecf021f6f5326fda61c6fdbef151e74163a07 (diff) | |
Fix clang version detection on osx yet again (nw)
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 | tail -n 1) +CLANG_VERSION := $(shell clang --version 2> /dev/null | head -n 1 | 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) |
