[cfe-commits] r149084 - /cfe/trunk/lib/Driver/ToolChains.cpp

Joerg Sonnenberger joerg at bec.de
Thu Jan 26 13:58:38 PST 2012


Author: joerg
Date: Thu Jan 26 15:58:37 2012
New Revision: 149084

URL: http://llvm.org/viewvc/llvm-project?rev=149084&view=rev
Log:
Remove obviously incorrect branch.

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

Modified: cfe/trunk/lib/Driver/ToolChains.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Driver/ToolChains.cpp?rev=149084&r1=149083&r2=149084&view=diff
==============================================================================
--- cfe/trunk/lib/Driver/ToolChains.cpp (original)
+++ cfe/trunk/lib/Driver/ToolChains.cpp Thu Jan 26 15:58:37 2012
@@ -1684,8 +1684,7 @@
     // doesn't work.
     // FIXME: It'd be nicer to test if this directory exists, but I'm not sure
     // what all logic is needed to emulate the '=' prefix here.
-    if (Triple.getArch() == llvm::Triple::x86 ||
-        Triple.getArch() == llvm::Triple::ppc)
+    if (Triple.getArch() == llvm::Triple::x86)
       getFilePaths().push_back("=/usr/lib/i386");
 
     getFilePaths().push_back("=/usr/lib");





More information about the cfe-commits mailing list