forked from OSchip/llvm-project
build: Change default CC to be clang instead of gcc.
llvm-svn: 144658
This commit is contained in:
parent
be6535b3dc
commit
fdb75e40ae
|
@ -67,7 +67,7 @@ endif
|
|||
|
||||
###
|
||||
|
||||
CC := gcc
|
||||
CC := clang
|
||||
|
||||
# Forcibly strip off any -arch, as that totally breaks our universal support.
|
||||
override CC := $(subst -arch ,-arch_,$(CC))
|
||||
|
|
|
@ -37,7 +37,7 @@ UniversalArchs := i386 ppc x86_64
|
|||
# <Option Name>.<Arch Name> := ...
|
||||
# <Option Name>.<Config Name>.<Arch Name> := ...
|
||||
|
||||
CC := gcc
|
||||
CC := clang
|
||||
|
||||
CFLAGS := -Wall -Werror
|
||||
CFLAGS.Debug := $(CFLAGS) -g
|
||||
|
|
|
@ -5,8 +5,7 @@ Configs := m32 m64
|
|||
Arch := i386
|
||||
Arch.m64 := x86_64
|
||||
|
||||
CC := gcc
|
||||
CC.m32 := clang
|
||||
CC := clang
|
||||
|
||||
CFLAGS := -Wall -Werror
|
||||
CFLAGS.m32 := $(CFLAGS) -m32 -O3
|
||||
|
|
Loading…
Reference in New Issue