Driver: Update -ccc-install-dir to also set the installed dir. Totally
non-obvious. llvm-svn: 111838
This commit is contained in:
parent
264d90fff7
commit
5d3b70a6fc
|
@ -240,7 +240,7 @@ Compilation *Driver::BuildCompilation(int argc, const char **argv) {
|
||||||
if (const Arg *A = Args->getLastArg(options::OPT_ccc_host_triple))
|
if (const Arg *A = Args->getLastArg(options::OPT_ccc_host_triple))
|
||||||
DefaultHostTriple = A->getValue(*Args);
|
DefaultHostTriple = A->getValue(*Args);
|
||||||
if (const Arg *A = Args->getLastArg(options::OPT_ccc_install_dir))
|
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))
|
if (const Arg *A = Args->getLastArg(options::OPT_B))
|
||||||
PrefixDir = A->getValue(*Args);
|
PrefixDir = A->getValue(*Args);
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue