Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 6 Oct 2010 20:35:07 +0000 (UTC)
From:      Dimitry Andric <dim@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-head@freebsd.org
Subject:   svn commit: r213492 - head/contrib/llvm/tools/clang/lib/Driver
Message-ID:  <201010062035.o96KZ74Y017466@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201010062035.o96KZ74Y017466>