1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-17 10:26:15 +00:00
freebsd/contrib/llvm/patches/patch-r213492-amd64-multi-os-dot.diff
Dimitry Andric a426b286c8 Add the clang patch for r265477. While here, add a description to the
patch for r263619, and unify all the URLs to point to svnweb.
2014-05-24 22:27:31 +00:00

19 lines
602 B
Diff

This patch makes "clang -print-multi-os-directory" print "." on amd64, which is
required by certain ports.
Introduced here: http://svnweb.freebsd.org/changeset/base/213492
Index: tools/clang/lib/Driver/Driver.cpp
===================================================================
--- tools/clang/lib/Driver/Driver.cpp
+++ tools/clang/lib/Driver/Driver.cpp
@@ -780,7 +780,7 @@ bool Driver::HandleImmediateArgs(const Compilation
break;
case llvm::Triple::x86_64:
- llvm::outs() << "x86_64" << "\n";
+ llvm::outs() << "." << "\n";
break;
case llvm::Triple::ppc64: