Dimitry, Sorry for the belated response; I've had limited connectivity over the break.
Please include a test case. Otherwise, LGTM. Chad On Nov 11, 2012, at 10:11 AM, Dimitry Andric <[email protected]> wrote: > Hi, > > As part of making clang the default system compiler for FreeBSD, it > turned out there are quite a few programs out there, which assume 'CC' > is a C++ compiler. In FreeBSD, we always had a link from /usr/bin/g++ > to /usr/bin/CC for that purpose. > > Clang already recognizes a number of different program names, and > deduces the correct behaviour from them. I would like to propose adding > 'CC' and 'clang-CC' to the list. > > The only possible issue I can see with this is with case-insensitive > filesystems, but even those usually preserve case. (And then you would > not be able to have both 'cc' and 'CC' in one directory anyway...) > > -Dimitry > <clang-progname-CC-1.diff>_______________________________________________ > cfe-commits mailing list > [email protected] > http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits _______________________________________________ cfe-commits mailing list [email protected] http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits
