Modify a couple of Makefiles to use clang instead of gcc, since gcc is being deprecated.

llvm-svn: 148071
This commit is contained in:
Johnny Chen 2012-01-12 23:50:28 +00:00
parent 2e108376d5
commit 7840c81df2
2 changed files with 2 additions and 8 deletions

View File

@ -1,9 +1,6 @@
all: a.out liba.dylib libb.dylib libc.dylib libd.dylib
CC ?= gcc
ifeq "$(CC)" "cc"
CC = gcc
endif
CC ?= clang
CFLAGS ?=-arch x86_64 -gdwarf-2 -O0
CWD := $(shell pwd)

View File

@ -1,7 +1,4 @@
CC ?= gcc
ifeq "$(CC)" "cc"
CC = gcc
endif
CC ?= clang
testit: testit.i386 testit.x86_64
lipo -create -o testit testit.i386 testit.x86_64