forked from OSchip/llvm-project
Modify a couple of Makefiles to use clang instead of gcc, since gcc is being deprecated.
llvm-svn: 148071
This commit is contained in:
parent
2e108376d5
commit
7840c81df2
|
@ -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)
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue