Author: dim
Date: Wed Oct  6 20:35:07 2010
New Revision: 213492
URL: http://svn.freebsd.org/changeset/base/213492

Log:
  Apply r207674 from the clangbsd project branch:
  
  Make "clang -print-multi-os-directory" return "." on amd64, matching
  gcc's behaviour.  This is needed because some ports use the option to
  determine the installation directory for their libraries.
  
  Requested by: kwm
  Approved by:  rpaulo (mentor)

Modified:
  head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp

Modified: head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
==============================================================================
--- head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp Wed Oct  6 19:32:12 
2010        (r213491)
+++ head/contrib/llvm/tools/clang/lib/Driver/Driver.cpp Wed Oct  6 20:35:07 
2010        (r213492)
@@ -470,7 +470,7 @@ bool Driver::HandleImmediateArgs(const C
       break;
 
     case llvm::Triple::x86_64:
-      llvm::outs() << "x86_64" << "\n";
+      llvm::outs() << "." << "\n";
       break;
 
     case llvm::Triple::ppc64:
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to