[cxx] Compile mini-llvm.c as C++ if configure -enable-cxx. (mono/mono#17558)
authorJay Krell <jaykrell@microsoft.com>
Fri, 25 Oct 2019 15:46:01 +0000 (08:46 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 25 Oct 2019 15:46:01 +0000 (17:46 +0200)
commitda3b96fca69885f74a44e4420ca07b15cf463ef2
tree9e5e59e834aac35cfae9eaef3126354ece720e67
parent9e38048b8cb302e9938d30035c064562bcc7f1a4
[cxx] Compile mini-llvm.c as C++ if configure -enable-cxx. (mono/mono#17558)

[cxx] Compile mini-llvm.c as C++ if configure -enable-cxx.

This is presently catastrophic, because of `MonoJitICallId` varying between C and C++, and therefore the layout of `MonoCallInst`.

Related to:
https://github.com/mono/mono/pull/17557

https://github.com/mono/mono/pull/17445#issuecomment-546175352

Commit migrated from https://github.com/mono/mono/commit/893486638cae8efc46323d6c2209fc99febcd05d
src/mono/mono/mini/Makefile.am.in