Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"clang" is not always available. It needs to be customizible. #3

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions build-tools/mono-runtimes/mono-runtimes.projitems
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
<_MonoRuntime Include="host">
<Ar>ar</Ar>
<As>as</As>
<Cc>clang</Cc>
<Cc>$(_HostClangCc)</Cc>
<CFlags>$(_CommonCFlags) -mmacosx-version-min=10.9</CFlags>
<Cxx>clang++</Cxx>
<Cxx>$(_HostClangCpp)</Cxx>
<CxxCpp>cpp</CxxCpp>
<CxxFlags></CxxFlags>
<Ld>ld</Ld>
Expand All @@ -37,4 +37,4 @@
<OutputMonoPosixHelper>libMonoPosixHelper.dylib</OutputMonoPosixHelper>
</_MonoRuntime>
</ItemGroup>
</Project>
</Project>
4 changes: 3 additions & 1 deletion build-tools/mono-runtimes/mono-runtimes.props
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
<?xml version="1.0" encoding="utf-8"?>
<Project DefaultTargets="Build" ToolsVersion="4.0" xmlns="http://schemas.microsoft.com/developer/msbuild/2003">
<PropertyGroup>
<_HostClangCc>clang</_HostClangCc>
<_HostClangCpp>clang++</_HostClangCpp>
<_CommonCFlags Condition=" '$(Configuration)' == 'Debug' ">-ggdb3 -O0 -fno-omit-frame-pointer</_CommonCFlags>
<_CommonCFlags Condition=" '$(Configuration)' == 'Release' ">-g -O2</_CommonCFlags>
<_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</_CommonConfigureFlags>
Expand All @@ -24,4 +26,4 @@
<_ArmRanLib>$(AndroidToolchainDirectory)\toolchains\arm-linux-androideabi-clang\bin\arm-linux-androideabi-ranlib</_ArmRanLib>
<_ArmStrip>$(AndroidToolchainDirectory)\toolchains\arm-linux-androideabi-clang\bin\arm-linux-androideabi-strip</_ArmStrip>
</PropertyGroup>
</Project>
</Project>