aboutsummaryrefslogtreecommitdiff
path: root/contrib/llvm
diff options
context:
space:
mode:
authorDimitry Andric <dim@FreeBSD.org>2010-10-06 20:35:07 +0000
committerDimitry Andric <dim@FreeBSD.org>2010-10-06 20:35:07 +0000
commitdba44734ebae69c8e44a0f0413abe8f54a85071b (patch)
tree8ea21097a461bef9dc50f5175970e4e5d68e0e91 /contrib/llvm
parent2a9479393a63e8060e2db6c4c1a634015ecb7543 (diff)
downloadsrc-dba44734ebae69c8e44a0f0413abe8f54a85071b.tar.gz
src-dba44734ebae69c8e44a0f0413abe8f54a85071b.zip
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)
Notes
Notes: svn path=/head/; revision=213492
Diffstat (limited to 'contrib/llvm')
-rw-r--r--contrib/llvm/tools/clang/lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/llvm/tools/clang/lib/Driver/Driver.cpp b/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
index 82f913484f48..b8400aa763bb 100644
--- a/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
+++ b/contrib/llvm/tools/clang/lib/Driver/Driver.cpp
@@ -470,7 +470,7 @@ bool Driver::HandleImmediateArgs(const Compilation &C) {
break;
case llvm::Triple::x86_64:
- llvm::outs() << "x86_64" << "\n";
+ llvm::outs() << "." << "\n";
break;
case llvm::Triple::ppc64: