aboutsummaryrefslogtreecommitdiff
path: root/package/mono/mono.mk
diff options
context:
space:
mode:
Diffstat (limited to 'package/mono/mono.mk')
-rw-r--r--package/mono/mono.mk21
1 files changed, 9 insertions, 12 deletions
diff --git a/package/mono/mono.mk b/package/mono/mono.mk
index 802c1d4402..2d60fc68fd 100644
--- a/package/mono/mono.mk
+++ b/package/mono/mono.mk
@@ -4,7 +4,7 @@
#
################################################################################
-MONO_VERSION = 5.4.0.201
+MONO_VERSION = 5.12.0.226
MONO_SITE = http://download.mono-project.com/sources/mono
MONO_SOURCE = mono-$(MONO_VERSION).tar.bz2
MONO_LICENSE = GPL-2.0 or MIT (compiler, tools), MIT (libs) or commercial
@@ -17,13 +17,15 @@ MONO_INSTALL_STAGING = YES
# patching configure.ac
MONO_AUTORECONF = YES
-# Disable managed code (mcs folder) from building
-MONO_CONF_OPTS = --with-mcs-docs=no \
+MONO_COMMON_CONF_OPTS = --with-mcs-docs=no \
--with-ikvm-native=no \
- --enable-minimal=profiler,debug,aot \
- --disable-mcs-build \
+ --enable-minimal=profiler,debug \
--enable-static \
- --disable-btls
+ --disable-btls \
+ --disable-system-aot
+
+# Disable managed code (mcs folder) from building
+MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-mcs-build
# The libraries have been built by the host-mono build. Since they are
# architecture-independent, we simply copy them to the target.
@@ -42,12 +44,7 @@ MONO_DEPENDENCIES += host-mono
## Mono managed
-HOST_MONO_CONF_OPTS = --with-mcs-docs=no \
- --disable-libraries \
- --with-ikvm-native=no \
- --enable-minimal=profiler,debug,aot \
- --enable-static \
- --disable-btls
+HOST_MONO_CONF_OPTS = $(MONO_COMMON_CONF_OPTS) --disable-libraries
# ensure monolite is used
HOST_MONO_MAKE_OPTS += EXTERNAL_MCS=false