[fullaot] configure.ac: pass --runtime=mobile to AOT_{BUILD,RUN}_FLAGS
commit9547921445398b886f0b3866ed2f4595e19c350d
authorAleksey Kliger <aleksey@xamarin.com>
Wed, 1 Mar 2017 20:59:55 +0000 (1 15:59 -0500)
committerAleksey Kliger (λgeek) <akliger@gmail.com>
Fri, 3 Mar 2017 14:46:46 +0000 (3 09:46 -0500)
tree966020364f9f4373d544581e1f7e28e9e79f0248
parent5eb363dbf19658aa7665185c8521d5e4f2d46966
[fullaot] configure.ac: pass --runtime=mobile to AOT_{BUILD,RUN}_FLAGS

For the profiles where we compile the BCL with -d:MOBILE, (where the
`[assembly: AssemblyVersion (Consts.FxVersion)]` attribute ends up pointing to
the mobile version) make sure we AOT and run the tests using the mobile
runtime.  This ensures that for the framework assemblies the version number in
the assembly matches the version number that the internal runtime remapping (
`mono/metadata/assembly.c` `framework_assemblies` array)
configure.ac