[cfe-commits] r111838 - /cfe/trunk/lib/Driver/Driver.cpp

Daniel Dunbar daniel at zuster.org
Mon Aug 23 13:58:50 PDT 2010


Author: ddunbar
Date: Mon Aug 23 15:58:50 2010
New Revision: 111838

URL: http://llvm.org/viewvc/llvm-project?rev=111838&view=rev
Log:
Driver: Update -ccc-install-dir to also set the installed dir. Totally
non-obvious.

Modified:
    cfe/trunk/lib/Driver/Driver.cpp

Modified: cfe/trunk/lib/Driver/Driver.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/Driver.cpp?rev=111838&r1=111837&r2=111838&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/Driver.cpp (original)
+++ cfe/trunk/lib/Driver/Driver.cpp Mon Aug 23 15:58:50 2010
@@ -240,7 +240,7 @@
   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);
 





More information about the cfe-commits mailing list