linux-packaging-mono/llvm_llc_opt_default_path.patch
2018-07-11 12:29:54 -04:00

14 lines
590 B
Diff

diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index 17a377236c7..8225b9e870f 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -12588,7 +12588,7 @@ mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options,
#ifdef MONO_ARCH_HAVE_FTNPTR_ARG_TRAMPOLINE
acfg->aot_opts.nftnptr_arg_trampolines = 128;
#endif
- acfg->aot_opts.llvm_path = g_strdup ("");
+ acfg->aot_opts.llvm_path = g_strdup ("/usr/lib/mono/llvm/bin/");
acfg->aot_opts.temp_path = g_strdup ("");
#ifdef MONOTOUCH
acfg->aot_opts.use_trampolines_page = TRUE;