bin/182442: commit references a PR

dfilter service dfilter at FreeBSD.ORG
Fri Oct 25 09:10:02 UTC 2013


The following reply was made to PR bin/182442; it has been noted by GNATS.

From: dfilter at FreeBSD.ORG (dfilter service)
To: bug-followup at FreeBSD.org
Cc:  
Subject: Re: bin/182442: commit references a PR
Date: Fri, 25 Oct 2013 09:09:07 +0000 (UTC)

 Author: smh
 Date: Fri Oct 25 09:09:00 2013
 New Revision: 257109
 URL: http://svnweb.freebsd.org/changeset/base/257109
 
 Log:
   Add clang-CC and CC to list of hints allowing clang to identify its operating
   mode as c++ instead of defaulting to c for the binary names CC and clang-CC.
   
   This fixes builds that use cmake, which automatically sets CXX to
   /usr/bin/CC by default.
   
   PR:		bin/182442
   Reviewed by:	dwhite, wca
   MFC after:	2 days
 
 Modified:
   head/contrib/llvm/tools/clang/tools/driver/driver.cpp
 
 Modified: head/contrib/llvm/tools/clang/tools/driver/driver.cpp
 ==============================================================================
 --- head/contrib/llvm/tools/clang/tools/driver/driver.cpp	Fri Oct 25 08:41:36 2013	(r257108)
 +++ head/contrib/llvm/tools/clang/tools/driver/driver.cpp	Fri Oct 25 09:09:00 2013	(r257109)
 @@ -284,11 +284,13 @@ static void ParseProgName(SmallVectorImp
    } suffixes [] = {
      { "clang", false, false },
      { "clang++", true, false },
 +    { "clang-CC", true, false },
      { "clang-c++", true, false },
      { "clang-cc", false, false },
      { "clang-cpp", false, true },
      { "clang-g++", true, false },
      { "clang-gcc", false, false },
 +    { "CC", true, false },
      { "cc", false, false },
      { "cpp", false, true },
      { "++", true, false },
 _______________________________________________
 svn-src-all at freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/svn-src-all
 To unsubscribe, send any mail to "svn-src-all-unsubscribe at freebsd.org"
 


More information about the freebsd-bugs mailing list