Skip to content

Commit

Permalink
[Configuration] Change default $(HostCc), $(HostCxx) values (#56)
Browse files Browse the repository at this point in the history
[Configuration] Change default $(HostCc), $(HostCxx) values

As [Marek mentioned in PR 55][0], the default C and C++ compiler
program names should be `cc` and `c++`, not `clang` and `clang++`,
as `cc` and `c++` are more portable across various Unixes.

[0]: #55 (comment)
  • Loading branch information
jonpryor authored and grendello committed Jun 6, 2016
1 parent 0c073f6 commit 1189779
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Configuration.props
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
<HostOS Condition=" '$(HostOS)' == '' And '$(OS)' == 'Windows_NT' ">Windows</HostOS>
<HostOS Condition=" '$(HostOS)' == '' And '$(OS)' == 'Unix' And Exists ('/Applications') ">Darwin</HostOS>
<HostOS Condition=" '$(HostOS)' == '' And '$(OS)' == 'Unix' ">Linux</HostOS>
<HostCc Condition=" '$(HostCc)' == '' ">clang</HostCc>
<HostCxx Condition=" '$(HostCxx)' == '' ">clang++</HostCxx>
<HostCc Condition=" '$(HostCc)' == '' ">cc</HostCc>
<HostCxx Condition=" '$(HostCxx)' == '' ">c++</HostCxx>
<ManagedRuntime Condition=" '$(ManagedRuntime)' == '' And '$(OS)' != 'Windows_NT' ">mono</ManagedRuntime>
<HOME Condition=" '$(HOME)' == '' ">$(HOMEDRIVE)$(HOMEPATH)</HOME>
<AndroidApiLevel Condition=" '$(AndroidApiLevel)' == '' ">23</AndroidApiLevel>
Expand Down

0 comments on commit 1189779

Please sign in to comment.