acfg->llvm_label_prefix = "";
acfg->user_symbol_prefix = "";
-#if TARGET_X86 || TARGET_AMD64
- const gboolean has_custom_args = !!acfg->aot_opts.llvm_llc || acfg->aot_opts.use_current_cpu;
-#endif
-
#if defined(TARGET_X86)
+#ifdef TARGET_ANDROID
+ g_string_append_printf (acfg->llc_args, " -mtriple=i686-none-linux-android21");
+#else
+ const gboolean has_custom_args = !!acfg->aot_opts.llvm_llc || acfg->aot_opts.use_current_cpu;
g_string_append_printf (acfg->llc_args, " -march=x86 %s", has_custom_args ? "" : "-mcpu=generic");
#endif
+#endif
#if defined(TARGET_AMD64)
+ const gboolean has_custom_args = !!acfg->aot_opts.llvm_llc || acfg->aot_opts.use_current_cpu;
g_string_append_printf (acfg->llc_args, " -march=x86-64 %s", has_custom_args ? "" : "-mcpu=generic");
/* NOP */
acfg->align_pad_value = 0x90;