From: Joerg Sonnenberger Date: Thu, 26 Jan 2012 21:58:37 +0000 (+0000) Subject: Remove obviously incorrect branch. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66de97fcc368ff7e9ea50337177d007c108cfd73;p=clang Remove obviously incorrect branch. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@149084 91177308-0d34-0410-b5e6-96231b3b80d8 --- diff --git a/lib/Driver/ToolChains.cpp b/lib/Driver/ToolChains.cpp index 4e34dc5e18..e5ee8899ef 100644 --- a/lib/Driver/ToolChains.cpp +++ b/lib/Driver/ToolChains.cpp @@ -1684,8 +1684,7 @@ NetBSD::NetBSD(const Driver &D, const llvm::Triple& Triple, // 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");