Driver: Update -ccc-install-dir to also set the installed dir. Totally

non-obvious.

llvm-svn: 111838
This commit is contained in:
Daniel Dunbar 2010-08-23 20:58:50 +00:00
parent 264d90fff7
commit 5d3b70a6fc
1 changed files with 1 additions and 1 deletions

View File

@ -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);