mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 21:03:34 +08:00
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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user