Make clang the default compiler for building the test programs.

llvm-svn: 138391
This commit is contained in:
Johnny Chen 2011-08-23 21:54:10 +00:00
parent 5aa9b1dd3f
commit 597cbbbd45
1 changed files with 3 additions and 3 deletions

View File

@ -23,14 +23,14 @@ ifeq "$(OS)" ""
endif
#----------------------------------------------------------------------
# CC defaults to gcc.
# CC defaults to clang.
# See also these functions:
# o cxx_compiler
# o cxx_linker
#----------------------------------------------------------------------
CC ?= gcc
CC ?= clang
ifeq "$(CC)" "cc"
CC = gcc
CC = clang
endif
#----------------------------------------------------------------------