diff options
author | dim <dim@FreeBSD.org> | 2010-10-06 20:35:07 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-10-06 20:35:07 +0000 |
commit | 96727cd5efa82346a3d5c2086fbecefae26e6ace (patch) | |
tree | 8ea21097a461bef9dc50f5175970e4e5d68e0e91 /contrib/llvm/tools/clang/lib/Driver | |
parent | 6c222550e8ea0b22a3ff7e6dfc9bba2ffddc4a25 (diff) | |
download | FreeBSD-src-96727cd5efa82346a3d5c2086fbecefae26e6ace.zip FreeBSD-src-96727cd5efa82346a3d5c2086fbecefae26e6ace.tar.gz |
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)
Diffstat (limited to 'contrib/llvm/tools/clang/lib/Driver')
-rw-r--r-- | contrib/llvm/tools/clang/lib/Driver/Driver.cpp | 2 |
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 82f9134..b8400aa 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: |