[PATCH] Use the integrated assembler by default on OpenBSD/powerpc
Brad Smith
brad at comstyle.com
Sun Dec 29 12:22:05 PST 2013
Use the integrated assembler by default on OpenBSD/powerpc.
Index: lib/Driver/ToolChains.h
===================================================================
--- lib/Driver/ToolChains.h (revision 197667)
+++ lib/Driver/ToolChains.h (working copy)
@@ -466,6 +466,12 @@
return 1;
}
+ virtual bool IsIntegratedAssemblerDefault() const {
+ if (getTriple().getArch() == llvm::Triple::ppc)
+ return true;
+ return Generic_ELF::IsIntegratedAssemblerDefault();
+ }
+
protected:
virtual Tool *buildAssembler() const;
virtual Tool *buildLinker() const;
--
This message has been scanned for viruses and
dangerous content by MailScanner, and is
believed to be clean.
More information about the cfe-commits
mailing list