[cxx] Compile mini-llvm.c as C++ if configure -enable-cxx. (#17558)
commit893486638cae8efc46323d6c2209fc99febcd05d
authorJay Krell <jaykrell@microsoft.com>
Fri, 25 Oct 2019 15:46:01 +0000 (25 08:46 -0700)
committermonojenkins <jo.shields+jenkins@xamarin.com>
Fri, 25 Oct 2019 15:46:01 +0000 (25 17:46 +0200)
tree7c45f9649b5fd79fe6d1f420d20f6aa3af5fe630
parent84d64d314bdbbd8cee07bbcb9ec8d030abe0156d
[cxx] Compile mini-llvm.c as C++ if configure -enable-cxx. (#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
mono/mini/Makefile.am.in