mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-23 14:37:34 +08:00
Linux - revert to preferentially use clang over gcc
Removed hardcoded requirement to use gcc Signed-off-by: Mark Charlebois <charlebm@gmail.com>
This commit is contained in:
@@ -48,7 +48,6 @@ HAVE_CLANG35=$(shell clang-3.5 -dumpversion)
|
||||
# Clang will report 4.2.1 as GCC version
|
||||
HAVE_CLANG=$(shell clang -dumpversion)
|
||||
|
||||
USE_GCC=1
|
||||
#If using ubuntu 14.04 and packaged clang 4.2.1
|
||||
ifeq ($(HAVE_CLANG35),4.2.1)
|
||||
USE_GCC=0
|
||||
|
||||
Reference in New Issue
Block a user