[PATCH] Recognize "CC" and "clang-CC" as C++ compiler aliases on FreeBSD

David Chisnall csdavec at swan.ac.uk
Wed Feb 4 01:13:33 PST 2015


This isn't required for the (around 700) ports that we have that use CMake, because the ports tree already explicitly sets CMAKE_CXX_COMPILER for all CMake ports, but it is required to make things that users build from source compile on FreeBSD.  It might be useful on other platforms - I think Windows is probably the only place where you wouldn't want it (OS X's HFS+ is case preserving, even if it isn't case sensitive, so cc and CC are easy to differentiate).

I'd be in favour of committing it as-is, and if other platforms encounter the issue then they can opt in as well.


http://reviews.llvm.org/D7164

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/






More information about the cfe-commits mailing list