From 872b39cea2d575f25464b963d5debb60228a25a6 Mon Sep 17 00:00:00 2001 From: Jo Shields Date: Wed, 29 May 2019 10:23:59 -0400 Subject: [PATCH] Refreshed patch --- llvm_llc_opt_default_path.patch | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/llvm_llc_opt_default_path.patch b/llvm_llc_opt_default_path.patch index 8e846953ba..33a6a84137 100644 --- a/llvm_llc_opt_default_path.patch +++ b/llvm_llc_opt_default_path.patch @@ -1,12 +1,13 @@ -diff -urNad mono-5.21.0.439.bak/mono/mini/aot-compiler.c mono-5.21.0.439/mono/mini/aot-compiler.c ---- mono-5.21.0.439.bak/mono/mini/aot-compiler.c 2018-11-13 03:22:01.000000000 -0500 -+++ mono-5.21.0.439/mono/mini/aot-compiler.c 2018-11-13 11:07:35.737483738 -0500 -@@ -12819,7 +12819,7 @@ - acfg->aot_opts.nftnptr_arg_trampolines = 128; +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, #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/"); + 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;