forked from OSchip/llvm-project
Make clang the default compiler for building the test programs.
llvm-svn: 138391
This commit is contained in:
parent
5aa9b1dd3f
commit
597cbbbd45
|
@ -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
|
||||
|
||||
#----------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue