Currently we use the system assembler when building compiler-rt. The
attached patch changes that so that it is only used on ARM. Is that
OK?

Cheers,
Rafael
diff --git a/runtime/compiler-rt/Makefile b/runtime/compiler-rt/Makefile
index a1a48a0..a1e6f09 100644
--- a/runtime/compiler-rt/Makefile
+++ b/runtime/compiler-rt/Makefile
@@ -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
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to