From dba44734ebae69c8e44a0f0413abe8f54a85071b Mon Sep 17 00:00:00 2001 From: Dimitry Andric Date: Wed, 6 Oct 2010 20:35:07 +0000 Subject: [PATCH] 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) --- contrib/llvm/tools/clang/lib/Driver/Driver.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/llvm/tools/clang/lib/Driver/Driver.cpp b/contrib/llvm/tools/clang/lib/Driver/Driver.cpp index 82f913484f4..b8400aa763b 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: