Skip to content

Commit 628672f

Browse files
lewurmjonpryor
authored andcommitted
[mono-runtimes] Disable mono's IL interpreter (#1010)
Context: mono/mono#5925 Mono's IL interpreter will be enabled by default in mono once the above PR merged. Xamarin.Android doesn't need an IL interpreter -- we have a JIT! -- so disable the interpreter so that it doesn't impact the size of `libmonosgen-2.0.so`.
1 parent 1672ab0 commit 628672f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

build-tools/mono-runtimes/mono-runtimes.props

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<_HostWinCFlags Condition=" '$(Configuration)' == 'Release' ">-g -O2 -DXAMARIN_PRODUCT_VERSION=0</_HostWinCFlags>
88
<_BtlsConfigureFlags>--enable-dynamic-btls --with-btls-android-ndk=$(AndroidToolchainDirectory)\ndk</_BtlsConfigureFlags>
99
<_CommonConfigureFlags>--without-ikvm-native --enable-maintainer-mode --with-profile4_x=no --with-monodroid --enable-nls=no --with-sigaltstack=yes --with-tls=pthread mono_cv_uscore=yes</_CommonConfigureFlags>
10-
<_TargetConfigureFlags>$(_CommonConfigureFlags) --enable-minimal=ssa,portability,attach,verifier,full_messages,sgen_remset,sgen_marksweep_par,sgen_marksweep_fixed,sgen_marksweep_fixed_par,sgen_copying,logging,security,shared_handles --disable-mcs-build --disable-executables --disable-iconv --disable-boehm $(_BtlsConfigureFlags)</_TargetConfigureFlags>
10+
<_TargetConfigureFlags>$(_CommonConfigureFlags) --enable-minimal=ssa,interpreter,portability,attach,verifier,full_messages,sgen_remset,sgen_marksweep_par,sgen_marksweep_fixed,sgen_marksweep_fixed_par,sgen_copying,logging,security,shared_handles --disable-mcs-build --disable-executables --disable-iconv --disable-boehm $(_BtlsConfigureFlags)</_TargetConfigureFlags>
1111
<_SecurityCFlags>-fstack-protector</_SecurityCFlags>
1212
<_TargetCFlags>$(_SecurityCFlags) -DMONODROID=1</_TargetCFlags>
1313
<_TargetCxxFlags>$(_SecurityCFlags) -DMONODROID=1</_TargetCxxFlags>

0 commit comments

Comments
 (0)