diff --git a/build-tools/mono-runtimes/mono-runtimes.projitems b/build-tools/mono-runtimes/mono-runtimes.projitems index 6d73b536284..05ff2c8daf9 100644 --- a/build-tools/mono-runtimes/mono-runtimes.projitems +++ b/build-tools/mono-runtimes/mono-runtimes.projitems @@ -22,9 +22,9 @@ <_MonoRuntime Include="host"> ar as - clang + $(_HostClangCc) $(_CommonCFlags) -mmacosx-version-min=10.9 - clang++ + $(_HostClangCpp) cpp ld @@ -37,4 +37,4 @@ libMonoPosixHelper.dylib - \ No newline at end of file + diff --git a/build-tools/mono-runtimes/mono-runtimes.props b/build-tools/mono-runtimes/mono-runtimes.props index 39bd2222bfd..c1c6762123e 100644 --- a/build-tools/mono-runtimes/mono-runtimes.props +++ b/build-tools/mono-runtimes/mono-runtimes.props @@ -1,6 +1,8 @@ + <_HostClangCc>clang + <_HostClangCpp>clang++ <_CommonCFlags Condition=" '$(Configuration)' == 'Debug' ">-ggdb3 -O0 -fno-omit-frame-pointer <_CommonCFlags Condition=" '$(Configuration)' == 'Release' ">-g -O2 <_CommonConfigureFlags>--without-ikvm-native --enable-maintainer-mode --with-profile2=no --with-profile4=no --with-profile4_5=no --with-monodroid --enable-nls=no --with-sigaltstack=yes --with-tls=pthread mono_cv_uscore=yes @@ -24,4 +26,4 @@ <_ArmRanLib>$(AndroidToolchainDirectory)\toolchains\arm-linux-androideabi-clang\bin\arm-linux-androideabi-ranlib <_ArmStrip>$(AndroidToolchainDirectory)\toolchains\arm-linux-androideabi-clang\bin\arm-linux-androideabi-strip - \ No newline at end of file +