Fixed support for clang 3.5

"clang-3.5 -dumpversion" returns 4.2.1 as the GCC version.

Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
Mark Charlebois
2015-04-20 11:00:16 -07:00
parent a68f025ff9
commit aeb65702a2
2 changed files with 63 additions and 56 deletions
+1 -1
View File
@@ -50,7 +50,7 @@ HAVE_CLANG=$(shell clang -dumpversion)
USE_GCC=1
#If using ubuntu 14.04 and packaged clang 4.2.1
ifeq ($(HAVE_CLANG35),3.5)
ifeq ($(HAVE_CLANG35),4.2.1)
USE_GCC=0
CLANGVER=-3.5
else