[mobile_static] Use clang++ for the linker (#3308)
authorAlexander Kyte <alexmkyte@gmail.com>
Thu, 21 Jul 2016 17:47:19 +0000 (13:47 -0400)
committerZoltan Varga <vargaz@gmail.com>
Thu, 21 Jul 2016 17:47:19 +0000 (13:47 -0400)
commit7d238ddd5edeeb42cec5e07b6d6527d16332f921
treedfe7266fb224a294647b91698a168f4c7e258bb3
parent5391cbb42b868ca7dc055161e024c0a5fd0c9d40
[mobile_static] Use clang++ for the linker (#3308)

In order for our exception handling to work on linux, we need the
unwind-dw2-fde-dip implementation in libgcc to work with our
.o file. This requires that `--eh-frame-hdr` be passed by the linker.

By using clang++ as the linker, we will get this and other flags
necessary for correct interop with c++ libraries.
mono/mini/aot-compiler.c