From 505760478a4c111618d3206d251d4dfe198f4b9c Mon Sep 17 00:00:00 2001 From: Dirk Best Date: Fri, 10 Jul 2015 22:21:17 +0200 Subject: [PATCH] fix clang version detection in ubuntu --- makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/makefile b/makefile index cef9e15dc53..565bf1df716 100644 --- a/makefile +++ b/makefile @@ -691,7 +691,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 'LLVM [0-9]\.[0-9]' -o | grep '[0-9]\.[0-9]' -o | head -n 1) +CLANG_VERSION := $(shell clang --version 2> /dev/null | grep '[0-9]\.[0-9]' -o | head -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)