Index: lib/Driver/ToolChains.h |
diff --git a/lib/Driver/ToolChains.h b/lib/Driver/ToolChains.h |
index e4f6e563c7696d3178973ddad55275135136272e..c3918d81a79716dd176f2f96ecb4b1e8eed9502d 100644 |
--- a/lib/Driver/ToolChains.h |
+++ b/lib/Driver/ToolChains.h |
@@ -753,7 +753,9 @@ public: |
llvm::opt::ArgStringList &CmdArgs) const override; |
bool |
- IsIntegratedAssemblerDefault() const override { return false; } |
+ IsIntegratedAssemblerDefault() const override { |
+ return getTriple().getArch() == llvm::Triple::mipsel; |
+ } |
// Get the path to the file containing NaCl's ARM macros. It lives in NaCl_TC |
// because the AssembleARM tool needs a const char * that it can pass around |