linux-packaging-mono/llvm_llc_opt_default_path.patch

14 lines
585 B
Diff
Raw Normal View History

2019-05-29 10:23:59 -04:00
diff --git a/mono/mini/aot-compiler.c b/mono/mini/aot-compiler.c
index d75d3f934f2..885877869da 100644
--- a/mono/mini/aot-compiler.c
+++ b/mono/mini/aot-compiler.c
@@ -13279,7 +13279,7 @@ mono_compile_assembly (MonoAssembly *ass, guint32 opts, const char *aot_options,
2018-07-11 12:29:54 -04:00
#endif
2018-11-13 11:33:26 -05:00
acfg->aot_opts.nunbox_arbitrary_trampolines = 256;
2019-05-29 10:23:59 -04:00
if (!acfg->aot_opts.llvm_path)
- 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;