From a7493cc7d18eb234f42c6d4c8c01ae1faaad1df9 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 16 Oct 2009 11:25:08 -0700 Subject: mono-2.4.2.3: Fix compilation issues. * Disable parallel make, mono does not like it. * Add a patch to get mono cross compile for x86 target. * add mono_cv_sizeof_sunpath to site files, becasue previously it was called cv_mono_sizeof_sunpath Signed-off-by: Khem Raj --- .../mono-cross-compilation-for-amd64.patch | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 recipes/mono/mono-2.4.2.3/mono-cross-compilation-for-amd64.patch (limited to 'recipes/mono/mono-2.4.2.3') diff --git a/recipes/mono/mono-2.4.2.3/mono-cross-compilation-for-amd64.patch b/recipes/mono/mono-2.4.2.3/mono-cross-compilation-for-amd64.patch new file mode 100644 index 0000000000..e8d91da148 --- /dev/null +++ b/recipes/mono/mono-2.4.2.3/mono-cross-compilation-for-amd64.patch @@ -0,0 +1,23 @@ +This is a workaround for bug 515050 +https://bugzilla.novell.com/show_bug.cgi?id=515050#c2 + +Real fix is something else which did not make into 2.4.2 +http://lists.ximian.com/pipermail/mono-patches/2009-June/151386.html +http://lists.ximian.com/pipermail/mono-patches/2009-June/151387.html + +but we are ok with workaround its safe. + +-Khem +Index: mono-2.4.2.3/mono/mini/genmdesc.pl +=================================================================== +--- mono-2.4.2.3.orig/mono/mini/genmdesc.pl 2009-10-15 18:21:45.000000000 -0700 ++++ mono-2.4.2.3/mono/mini/genmdesc.pl 2009-10-15 18:22:19.000000000 -0700 +@@ -47,7 +47,7 @@ sub load_opcodes + $arch_define = "TARGET_ARM"; + } + +- $cpp .= " -D$arch_define $srcdir/mini-ops.h|"; ++ $cpp .= " -DMONO_ARCH_SUPPORT_SIMD_INTRINSICS -D$arch_define $srcdir/mini-ops.h|"; + #print "Running: $cpp\n"; + open (OPS, $cpp) || die "Cannot execute cpp: $!"; + while () { -- cgit v1.2.3