linux-packaging-mono/debian/patches/llvm_llc_opt_default_path.patch
Jo Shields 2e670e25f0 Refreshed debian/patches/llvm_llc_opt_default_path.patch
Former-commit-id: 9daf2d4c86826abd0f20aa27341e70940d07f35d
2018-10-26 09:05:28 -04:00

14 lines
607 B
Diff

Index: xamarin-pkg-mono/mono/mini/aot-compiler.c
===================================================================
--- xamarin-pkg-mono.orig/mono/mini/aot-compiler.c
+++ xamarin-pkg-mono/mono/mini/aot-compiler.c
@@ -12744,7 +12744,7 @@ mono_compile_assembly (MonoAssembly *ass
acfg->aot_opts.nftnptr_arg_trampolines = 128;
#endif
acfg->aot_opts.nunbox_arbitrary_trampolines = 256;
- 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;