forked from OSchip/llvm-project
Fix Makefile to pass the correct -arch flag to the toolchains.
llvm-svn: 156882
This commit is contained in:
parent
4e711921ba
commit
e7ae16fa83
|
@ -1,7 +1,10 @@
|
|||
all: a.out liba.dylib libb.dylib libc.dylib libd.dylib
|
||||
|
||||
CC ?= clang
|
||||
CFLAGS ?=-arch x86_64 -gdwarf-2 -O0
|
||||
ifeq "$(ARCH)" ""
|
||||
ARCH = x86_64
|
||||
endif
|
||||
CFLAGS ?=-arch $(ARCH) -gdwarf-2 -O0
|
||||
CWD := $(shell pwd)
|
||||
|
||||
all: a.out hidden/libd.dylib
|
||||
|
|
Loading…
Reference in New Issue