the default for clang for some time now and can handle compiler-rt.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@151367
91177308-0d34-0410-b5e6-
96231b3b80d8
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