linux-packaging-mono/debian/patches/llvm_llc_opt_default_path.patch
Jo Shields f120921e6b Refreshed llvm_llc_opt_default_path.patch
Former-commit-id: 6eb98d47f021f11b276f8e16f52739e9366d561c
2018-08-07 11:39:41 -04:00

14 lines
599 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
@@ -12559,7 +12559,7 @@ mono_compile_assembly (MonoAssembly *ass
#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;