aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
diff options
context:
space:
mode:
authorLogan Chien <loganchien@google.com>2011-10-19 11:36:30 +0800
committerLogan Chien <loganchien@google.com>2011-10-19 11:37:40 +0800
commitd2351e5c088147b5d71d5745cf07b5085a7f0073 (patch)
treeb97ce400bb124278e5e8925b5dd11689498430b7 /include/llvm/CodeGen/LinkAllAsmWriterComponents.h
parentd98f643517ec975c59f768d3ea2605b08119bc22 (diff)
downloadexternal_llvm-d2351e5c088147b5d71d5745cf07b5085a7f0073.zip
external_llvm-d2351e5c088147b5d71d5745cf07b5085a7f0073.tar.gz
external_llvm-d2351e5c088147b5d71d5745cf07b5085a7f0073.tar.bz2
Add build rules for llc, opt, and llvm-link on target device.
Change-Id: I42f35da6f5ce77ab8969746131f5e6fdd42e5afa
Diffstat (limited to 'include/llvm/CodeGen/LinkAllAsmWriterComponents.h')
-rw-r--r--include/llvm/CodeGen/LinkAllAsmWriterComponents.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/llvm/CodeGen/LinkAllAsmWriterComponents.h b/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
index 7d1b1fe..4b94173 100644
--- a/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
+++ b/include/llvm/CodeGen/LinkAllAsmWriterComponents.h
@@ -18,6 +18,7 @@
#include "llvm/CodeGen/GCs.h"
#include <cstdlib>
+#ifndef ANDROID_TARGET_BUILD
namespace {
struct ForceAsmWriterLinking {
ForceAsmWriterLinking() {
@@ -33,5 +34,6 @@ namespace {
}
} ForceAsmWriterLinking; // Force link by creating a global definition.
}
+#endif
#endif // LLVM_CODEGEN_LINKALLASMWRITERCOMPONENTS_H