From 2f5bfe0c16d8c185f2824a14710d9c4738fc61a9 Mon Sep 17 00:00:00 2001 From: Mark Charlebois Date: Wed, 15 Apr 2015 16:14:13 -0700 Subject: [PATCH] Linux: quelch clang-3.5 not found warnings Quelch stderr when looking for clang-3.5. Signed-off-by: Mark Charlebois --- makefiles/toolchain_native.mk | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/makefiles/toolchain_native.mk b/makefiles/toolchain_native.mk index 3a65682a5e..f26678486a 100644 --- a/makefiles/toolchain_native.mk +++ b/makefiles/toolchain_native.mk @@ -46,10 +46,10 @@ USE_GCC?=0 ifneq ($(USE_GCC),1) -HAVE_CLANG35=$(shell clang-3.5 -dumpversion) +HAVE_CLANG35:=$(shell clang-3.5 -dumpversion 2>/dev/null) # Clang will report 4.2.1 as GCC version -HAVE_CLANG=$(shell clang -dumpversion) +HAVE_CLANG:=$(shell clang -dumpversion) #If using ubuntu 14.04 and packaged clang 3.5 ifeq ($(HAVE_CLANG35),4.2.1)