aboutsummaryrefslogtreecommitdiff
path: root/lib/Driver/Driver.cpp
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2010-08-23 20:58:50 +0000
committerDaniel Dunbar <daniel@zuster.org>2010-08-23 20:58:50 +0000
commitc4ab3493bb3048014895cf577a8f27505a83603d (patch)
treecfd233401feb26c3259bebe818d6d8f78caededa /lib/Driver/Driver.cpp
parent823894110e6f161a29450dbdea44ab987cfe16bb (diff)
Driver: Update -ccc-install-dir to also set the installed dir. Totally
non-obvious. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@111838 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Driver/Driver.cpp')
-rw-r--r--lib/Driver/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Driver/Driver.cpp b/lib/Driver/Driver.cpp
index e967cfe7b2..82f913484f 100644
--- a/lib/Driver/Driver.cpp
+++ b/lib/Driver/Driver.cpp
@@ -240,7 +240,7 @@ Compilation *Driver::BuildCompilation(int argc, const char **argv) {
if (const Arg *A = Args->getLastArg(options::OPT_ccc_host_triple))
DefaultHostTriple = A->getValue(*Args);
if (const Arg *A = Args->getLastArg(options::OPT_ccc_install_dir))
- Dir = A->getValue(*Args);
+ Dir = InstalledDir = A->getValue(*Args);
if (const Arg *A = Args->getLastArg(options::OPT_B))
PrefixDir = A->getValue(*Args);