Use -no-integrated-as only on ARM. The X86 and X86-64 integrated as have been

the default for clang for some time now and can handle compiler-rt.

llvm-svn: 151367
This commit is contained in:
Rafael Espindola 2012-02-24 16:22:39 +00:00
parent 0f9c9a5332
commit 1a16f49858
1 changed files with 4 additions and 1 deletions

View File

@ -29,7 +29,10 @@ PROJ_resources_lib := $(PROJ_resources)/lib
COMPILERRT_SRC_ROOT := $(LLVM_SRC_ROOT)/projects/compiler-rt
# Additional flags to pass to Clang.
CLANG_CCFLAGS := -no-integrated-as
CLANG_CCFLAGS :=
ifeq ($(ARCH), arm)
CLANG_CCFLAGS += -no-integrated-as
endif
# We don't currently support building runtime libraries when we are
# cross-compiling. The issue is that we really want to be set up so that the